libnet: fix SRC_URI by pointing to Debian mirrors
authorMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 4 Jan 2007 13:37:40 +0000 (13:37 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 4 Jan 2007 13:37:40 +0000 (13:37 +0000)
packages/libnet/libnet_1.0.2a.bb
packages/libnet/libnet_1.1.2.1.bb

index 6e6067c..c4e4396 100644 (file)
@@ -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
 
index 92457a8..f9464ae 100644 (file)
@@ -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"