blob: 5b9981b3eaf9eae501d7f9fd575ecc6dc1d4d3e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnl3
pkgver=3.2.24
pkgrel=0
pkgdesc="Library for applications dealing with netlink sockets"
url="http://people.suug.ch/~tgr/libnl"
arch="all"
license="GPL"
depends=
makedepends="flex bison"
subpackages="$pkgname-dev"
source="http://distfiles.gentoo.org/distfiles/libnl-$pkgver.tar.gz"
source="http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-$pkgver.tar.gz"
_builddir="$srcdir"/libnl-$pkgver
prepare () {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -s -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build () {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir"/usr/lib -name '*.la' -delete
}
md5sums="6e0e7bad0674749d930dd9f285343d55 libnl-3.2.24.tar.gz"
sha256sums="fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd6816 libnl-3.2.24.tar.gz"
sha512sums="d42c131d0be3bddfd65b9353f7193d355a0b5a7f0c32ee3db67ceeb9da2b04030f2dbc0d51f7f7cddbcc15fcc596b380e0c846dbe1c52212e50d06b7ee12fb10 libnl-3.2.24.tar.gz"
|