iproute2: use alternative download mirror.

This commit is contained in:
Juan RP 2011-11-14 21:31:47 +01:00
parent a35a611363
commit 23bde97f3e

View file

@ -3,7 +3,7 @@ pkgname=iproute2
version=2.6.39
patch_args="-Np1"
#distfiles="http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-$version.tar.gz"
distfiles="http://ftp-nyc.osuosl.org/pub/lfs/lfs-packages/lfs-packages-svn-20110904/$pkgname-$version.tar.gz"
distfiles="http://sources.buildroot.net/$pkgname-$version.tar.gz"
revision=1
short_desc="IP Routing Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -22,22 +22,19 @@ conf_files="
/etc/iproute2/rt_scopes
/etc/iproute2/rt_tables"
Add_dependency build perl ">=0"
Add_dependency build db-devel
Add_dependency build iptables-devel
Add_dependency build bison
Add_dependency build flex
do_build()
{
do_build() {
sed -i -e "s|\/usr\/local\/lib|\/usr\/libexec|g" configure
./configure --prefix=/usr
./configure ${CONFIGURE_SHARED_ARGS}
make ${makejobs}
}
do_install()
{
do_install() {
make DESTDIR=${DESTDIR} install
# Remove tex and sgml files.