summaryrefslogtreecommitdiff
path: root/libpcap
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-09 03:00:50 +0000
committerChris Larson <clarson@kergoth.com>2004-05-09 03:00:50 +0000
commit2bbcacb70e3ac67ab7a2ec7bace5f91c2560f635 (patch)
tree0c0e1e2663501f3d271fb082f8fee20eb3fd0f38 /libpcap
parentea4f4c02e9679dfb2978f3d9a9042f2f7ed0ec08 (diff)
Merge openembedded@openembedded.bkbits.net:packages
into linux.local:/home/kergoth/code/packages 2004/05/08 23:00:41-04:00 local!kergoth Upgrade the alsa packages to 1.0.4. 2004/05/08 22:17:13-04:00 local!kergoth Fix compile error with adns, resulting from a function definition not matching the declaration. 2004/05/08 18:00:51-04:00 local!kergoth Merge openembedded@openembedded.bkbits.net:packages into linux.local:/home/kergoth/code/packages 2004/05/08 13:59:20-04:00 local!kergoth Merge openembedded@openembedded.bkbits.net:packages into linux.local:/home/kergoth/code/packages 2004/05/08 13:59:15-04:00 local!kergoth Fixing up the libtool-native/libtool-cross mess. 2004/05/08 13:59:04-04:00 local!kergoth Bugfix in ncurses usage of oe_libinstall. 2004/05/07 21:46:16-04:00 local!kergoth Merge 2004/05/07 21:45:26-04:00 local!kergoth Adapt some .oe's to use oe_libinstall. BKrev: 409d9ee2NnxGHPWH0kUIfg5f6DoPcQ
Diffstat (limited to 'libpcap')
-rw-r--r--libpcap/libpcap_0.7.2.oe3
-rw-r--r--libpcap/libpcap_0.8.1.oe3
-rw-r--r--libpcap/libpcap_0.8.3.oe29
3 files changed, 31 insertions, 4 deletions
diff --git a/libpcap/libpcap_0.7.2.oe b/libpcap/libpcap_0.7.2.oe
index c02bd2b4d1..cc53cfed06 100644
--- a/libpcap/libpcap_0.7.2.oe
+++ b/libpcap/libpcap_0.7.2.oe
@@ -27,6 +27,5 @@ do_stage () {
install -m 0644 net/bpf.h ${STAGING_INCDIR}/net/bpf.h
install -m 0644 pcap.h ${STAGING_INCDIR}/pcap.h
install -m 0644 pcap-namedb.h ${STAGING_INCDIR}/pcap-namedb.h
- oe_soinstall libpcap.so.${PV} ${STAGING_LIBDIR}/
- install -m 0644 libpcap.a ${STAGING_LIBDIR}/
+ oe_libinstall -a -so libpcap ${STAGING_LIBDIR}
}
diff --git a/libpcap/libpcap_0.8.1.oe b/libpcap/libpcap_0.8.1.oe
index 2332d545a9..2c7a3129a5 100644
--- a/libpcap/libpcap_0.8.1.oe
+++ b/libpcap/libpcap_0.8.1.oe
@@ -23,6 +23,5 @@ do_stage () {
install -m 0644 pcap.h ${STAGING_INCDIR}/pcap.h
install -m 0644 pcap-namedb.h ${STAGING_INCDIR}/pcap-namedb.h
install -m 0644 pcap-bpf.h ${STAGING_INCDIR}/pcap-bpf.h
- oe_soinstall libpcap.so.${PV} ${STAGING_LIBDIR}/
- install -m 0644 libpcap.a ${STAGING_LIBDIR}/
+ oe_libinstall -a -so libpcap ${STAGING_LIBDIR}
}
diff --git a/libpcap/libpcap_0.8.3.oe b/libpcap/libpcap_0.8.3.oe
index e69de29bb2..d36454f4fb 100644
--- a/libpcap/libpcap_0.8.3.oe
+++ b/libpcap/libpcap_0.8.3.oe
@@ -0,0 +1,29 @@
+DESCRIPTION = "Network Packet Capture Library"
+SECTION = "libs"
+PRIORITY = "required"
+RDEPENDS = "libc6"
+DEPENDS = "virtual/libc"
+
+SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz; \
+ file://${FILESDIR}/shared.patch;patch=1"
+
+# file://${FILESDIR}/configure.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-pcap=linux"
+
+do_configure_prepend () {
+ if [ ! -e acinclude.m4 ]; then
+ cat aclocal.m4 > acinclude.m4
+ fi
+}
+
+do_stage () {
+ install -d ${STAGING_INCDIR}/net
+ install -m 0644 net/bpf.h ${STAGING_INCDIR}/net/bpf.h
+ install -m 0644 pcap.h ${STAGING_INCDIR}/pcap.h
+ install -m 0644 pcap-namedb.h ${STAGING_INCDIR}/pcap-namedb.h
+ install -m 0644 pcap-bpf.h ${STAGING_INCDIR}/pcap-bpf.h
+ oe_libinstall -a -so libpcap ${STAGING_LIBDIR}
+}