diff options
-rw-r--r-- | packages/libnet/libnet_1.0.2a.bb | 5 | ||||
-rw-r--r-- | packages/libnet/libnet_1.1.2.1.bb | 3 |
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" |