summaryrefslogtreecommitdiff
path: root/packages/libnet
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 13:37:40 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 13:37:40 +0000
commit2c28852f2c640ff585800fc2b9a005be1ae47b6c (patch)
tree950c93387640eac9981f32baab3750f94d2f2735 /packages/libnet
parent6a4f79a712999ac6764b7424adbeb86272a1eda4 (diff)
libnet: fix SRC_URI by pointing to Debian mirrors
Diffstat (limited to 'packages/libnet')
-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"