26 lines
582 B
Plaintext
26 lines
582 B
Plaintext
# Description: Library providing APIs to netlink protocol based Linux kernel interfaces
|
|
# URL: http://www.infradead.org/~tgr/libnl/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libnl
|
|
|
|
name=libnl-32
|
|
version=3.11.0
|
|
release=1
|
|
source=(https://github.com/thom311/libnl/releases/download/libnl${version//./_}/${name%-*}-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--sysconfdir=/etc \
|
|
--disable-cli
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{share,include}
|
|
rm -r $PKG/etc
|
|
}
|