summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 13:39:31 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 13:39:31 +0000
commit0555065cdd667532d77684a79b931f6dc5f25cd6 (patch)
tree3954966ae4167d7d64420d949022781dd2186670
parent1a4cc8ee9bf959e68b7c418d562f70fd6e08d561 (diff)
parent2c28852f2c640ff585800fc2b9a005be1ae47b6c (diff)
merge of '00d78946cd1515dee27466d89f128fdb53cca857'
and 'ef1a4a2342c9bd1b81be3adf9d3bf41a56e6aacd'
-rw-r--r--packages/libnet/libnet_1.0.2a.bb5
-rw-r--r--packages/libnet/libnet_1.1.2.1.bb3
2 files changed, 5 insertions, 3 deletions
diff --git a/packages/libnet/libnet_1.0.2a.bb b/packages/libnet/libnet_1.0.2a.bb
index 6e6067cf8f..c4e4396e1a 100644
--- a/packages/libnet/libnet_1.0.2a.bb
+++ b/packages/libnet/libnet_1.0.2a.bb
@@ -9,11 +9,12 @@ PR = "r1"
# There are major API changes beween libnet v1.0 and libnet v1.1
PROVIDES = "libnet-1.0"
-SRC_URI = "http://www.packetfactory.net/libnet/dist/deprecated/libnet-${PV}.tar.gz \
+#SRC_URI = "http://www.packetfactory.net/libnet/dist/deprecated/libnet-${PV}.tar.gz \
+SRC_URI = "${DEBIAN_MIRROR}/main/libn/libnet0/libnet0_${PV}.orig.tar.gz \
file://configure.patch;patch=1 \
file://configure.uclibc.patch;patch=1 \
"
-S = "${WORKDIR}/Libnet-${PV}"
+S = "${WORKDIR}/libnet-${PV}.orig"
inherit autotools
diff --git a/packages/libnet/libnet_1.1.2.1.bb b/packages/libnet/libnet_1.1.2.1.bb
index 92457a8ff4..f9464ae8bb 100644
--- a/packages/libnet/libnet_1.1.2.1.bb
+++ b/packages/libnet/libnet_1.1.2.1.bb
@@ -8,7 +8,7 @@ DEPENDS = "libpcap"
PROVIDES = "libnet-1.1"
PR = "r1"
-SRC_URI = "http://www.packetfactory.net/libnet/dist/libnet-${PV}.tar.gz \
+SRC_URI = "${DEBIAN_MIRROR}/main/libn/libnet/libnet_${PV}.orig.tar.gz \
file://support-uclibc.patch;patch=1 \
file://fix-endianess-test.patch;patch=1"
@@ -31,6 +31,7 @@ do_stage () {
oe_runmake -C include/libnet 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-libnetincludeHEADERS
}
+#static build
PACKAGES = "${PN}-dev ${PN}-doc"
FILES_${PN}-dev += "${bindir}/libnet-config"