23 lines
581 B
Plaintext
23 lines
581 B
Plaintext
# Description: Library providing APIs to netlink protocol based Linux kernel interfaces
|
|
# URL: http://www.infradead.org/~tgr/libnl/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
name=libnl
|
|
version=3.2.25
|
|
release=1
|
|
source=(http://www.infradead.org/~tgr/$name/files/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i 's|<linux/in6.h>|<netinet/in.h>|' lib/route/link/ip6tnl.c
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/man \
|
|
--disable-cli
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|