diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-13 10:27:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-13 10:29:32 +0000 |
commit | db5c66c903728a1c577a3641e692e0ee9e1418b8 (patch) | |
tree | ff958e28a91b516c3cf1f87fad4f81eed3ce30fb /main/iproute2 | |
parent | fac818389251d0698432d749faebaf708ce3aa6f (diff) | |
download | aports-db5c66c903728a1c577a3641e692e0ee9e1418b8.tar.bz2 aports-db5c66c903728a1c577a3641e692e0ee9e1418b8.tar.xz |
main/iproute2: upgrade to 2.6.31
Diffstat (limited to 'main/iproute2')
-rw-r--r-- | main/iproute2/APKBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/main/iproute2/APKBUILD b/main/iproute2/APKBUILD index 821d304ef..c031ed9ca 100644 --- a/main/iproute2/APKBUILD +++ b/main/iproute2/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=iproute2 -pkgver=2.6.29.1 -_realver=2.6.29-1 +pkgver=2.6.31 +_realver=2.6.31 pkgrel=0 pkgdesc="IP Routing Utilities" url="http://www.linux-foundation.org/en/Net:Iproute2" @@ -10,20 +10,25 @@ depends= install="$pkgname.post-install $pkgname.post-deinstall" makedepends="bison flex bash" subpackages="$pkgname-doc" -source="http://devresources.linux-foundation.org/dev/iproute2/download/$pkgname-$_realver.tar.bz2 - $install" +source="http://devresources.linux-foundation.org/dev/iproute2/download/$pkgname-$_realver.tar.bz2" -build() { +prepare() { cd "$srcdir"/$pkgname-$_realver sed -i '/^TARGETS=/s: arpd : :' misc/Makefile sed -i 's:/usr/local:/usr:' tc/m_ipt.c include/iptables.h || return 1 sed -i 's:=/share:=/usr/share:' Makefile || return 1 +} +build() { + cd "$srcdir"/$pkgname-$_realver ./configure || return 1 make CCOPTS="-D_GNU_SOURCE $CFLAGS" LIBDIR=/lib || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$_realver make -j1 DESTDIR="$pkgdir" install } -md5sums="c1bc258a6c345905e79935ac7a3cc582 iproute2-2.6.29-1.tar.bz2 -da1571ff1c0241c5c7f333a48d908927 iproute2.post-install -ed8271a16ef48a769c50c3b529411018 iproute2.post-deinstall" + +md5sums="230f35282a95451622f3e8394f9cd80a iproute2-2.6.31.tar.bz2" |