aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnet/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-21 14:01:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-21 14:01:37 +0000
commit0ea3c910afb7428ac63516dc0ab0dc1614a51c21 (patch)
treec89acdb113c581181c2c143c9971e94199d51d34 /main/libnet/APKBUILD
parentff761b56ad7826dd2081e35e8bbcc8b0312c3269 (diff)
downloadaports-0ea3c910afb7428ac63516dc0ab0dc1614a51c21.tar.bz2
aports-0ea3c910afb7428ac63516dc0ab0dc1614a51c21.tar.xz
main/libnet: upgrade to 1.1.4
Diffstat (limited to 'main/libnet/APKBUILD')
-rw-r--r--main/libnet/APKBUILD26
1 files changed, 6 insertions, 20 deletions
diff --git a/main/libnet/APKBUILD b/main/libnet/APKBUILD
index e756acc0ec..8d341b2ed7 100644
--- a/main/libnet/APKBUILD
+++ b/main/libnet/APKBUILD
@@ -1,36 +1,22 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Your Name <youremail@domain.com>
pkgname=libnet
-pkgver=1.1.2.1
+pkgver=1.1.4
pkgrel=0
pkgdesc="A generic networking API that provides access to several protocols."
-url="http://www.packetfactory.net/libnet/"
+url="http://sourceforge.net/projects/libnet-dev/"
license="BSD"
-depends="uclibc"
+depends=
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
-source="http://www.packetfactory.net/libnet/dist/$pkgname-$pkgver.tar.gz
- libnet-1.1.2.1-autotools.patch
- libnet-1.1.2.1-fix-chksum.patch
- "
+source="http://sourceforge.net/projects/libnet-dev/files/libnet-dev/${pkgname}-${pkgver}.tar.gz"
build() {
- local i
- cd "$srcdir/$pkgname"
- for i in ../*.patch; do
- msg "Applyting $i"
- patch -p1 < $i || return 1
- done
-
- aclocal
- libtoolize --force || return 1
- autoconf && automake || return 1
+ cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install
}
-md5sums="be845c41170d72c7db524f3411b50256 libnet-1.1.2.1.tar.gz
-7e928170600bea8ed4a0d079b83c80ac libnet-1.1.2.1-autotools.patch
-668189bf87cda8daeaf250146bd88331 libnet-1.1.2.1-fix-chksum.patch"
+md5sums="c5e06418a89cc4209f677a776a798fd9 libnet-1.1.4.tar.gz"