core/libnl3/PKGBUILD
2012-10-31 19:13:55 +00:00

31 lines
647 B
Bash

# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
pkgname=libnl3
_basename=libnl
pkgver=3.2.14
pkgrel=1
pkgdesc="Library for applications dealing with netlink sockets"
arch=(x86_64)
license=(GPL)
depends=(glibc)
backup=(etc/libnl/classid etc/libnl/pktloc)
options=(!libtool)
source=("http://www.infradead.org/~tgr/libnl/files/$_basename-$pkgver.tar.gz")
md5sums=('81d44f530aa0af1638a220c413baec05')
build() {
cd "$srcdir/$_basename-$pkgver"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--disable-static
make
}
package() {
cd "$srcdir/$_basename-$pkgver"
make DESTDIR="$pkgdir" install
}