diff options
author | Shane Wang <shane.wang@intel.com> | 2011-12-23 14:27:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:23 +0000 |
commit | 1d5f9896d19716ccdd9d412502d90bb804059317 (patch) | |
tree | 15ae8f5444df8a4b5914d78062f3158f8fd06fce /meta/recipes-connectivity/libpcap/libpcap_1.2.0.bb | |
parent | 940c1ad0581e03b479b956261904368b9af4fd5f (diff) | |
download | poky-1d5f9896d19716ccdd9d412502d90bb804059317.tar.gz |
libpcap: upgrade to 1.2.0
This patch is to upgrade libpcap to 1.2.0.
The values of the macro definitions are duplicated with the new code, so change them into other values.
(From OE-Core rev: 2a76f0731f5e2ad4b941197bdf59c66d52ec9131)
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap_1.2.0.bb')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap_1.2.0.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.2.0.bb b/meta/recipes-connectivity/libpcap/libpcap_1.2.0.bb new file mode 100644 index 0000000000..bc7c03b708 --- /dev/null +++ b/meta/recipes-connectivity/libpcap/libpcap_1.2.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require libpcap.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI += "file://aclocal.patch \ | ||
6 | file://ieee80215-arphrd.patch" | ||
7 | |||
8 | SRC_URI[md5sum] = "dfb8aa690b7a29821bfa183025436569" | ||
9 | SRC_URI[sha256sum] = "702ac51cfaa5c17d6b92771b22835d58eda4dc9e1f596c80a0b031e4c45c07d6" | ||
10 | |||
11 | # | ||
12 | # make install doesn't cover the shared lib | ||
13 | # make install-shared is just broken (no symlinks) | ||
14 | # | ||
15 | do_install_prepend () { | ||
16 | install -d ${D}${libdir} | ||
17 | install -d ${D}${bindir} | ||
18 | oe_runmake install-shared DESTDIR=${D} | ||
19 | oe_libinstall -a -so libpcap ${D}${libdir} | ||
20 | } | ||