iproute2: use alternative download mirror.
This commit is contained in:
parent
a35a611363
commit
23bde97f3e
1 changed files with 4 additions and 7 deletions
|
@ -3,7 +3,7 @@ pkgname=iproute2
|
||||||
version=2.6.39
|
version=2.6.39
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
#distfiles="http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-$version.tar.gz"
|
#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
|
revision=1
|
||||||
short_desc="IP Routing Utilities"
|
short_desc="IP Routing Utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -22,22 +22,19 @@ conf_files="
|
||||||
/etc/iproute2/rt_scopes
|
/etc/iproute2/rt_scopes
|
||||||
/etc/iproute2/rt_tables"
|
/etc/iproute2/rt_tables"
|
||||||
|
|
||||||
|
|
||||||
Add_dependency build perl ">=0"
|
Add_dependency build perl ">=0"
|
||||||
Add_dependency build db-devel
|
Add_dependency build db-devel
|
||||||
Add_dependency build iptables-devel
|
Add_dependency build iptables-devel
|
||||||
Add_dependency build bison
|
Add_dependency build bison
|
||||||
Add_dependency build flex
|
Add_dependency build flex
|
||||||
|
|
||||||
do_build()
|
do_build() {
|
||||||
{
|
|
||||||
sed -i -e "s|\/usr\/local\/lib|\/usr\/libexec|g" configure
|
sed -i -e "s|\/usr\/local\/lib|\/usr\/libexec|g" configure
|
||||||
./configure --prefix=/usr
|
./configure ${CONFIGURE_SHARED_ARGS}
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install()
|
do_install() {
|
||||||
{
|
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
# Remove tex and sgml files.
|
# Remove tex and sgml files.
|
||||||
|
|
Loading…
Reference in a new issue