APP=libmnl
VERSION=1.0.4
BUILD=1sml
HOMEPAGE='http://www.netfilter.org/projects/libmnl/'
DOWNLOAD='https://www.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz2'
DESC="user-space library oriented to Netlink developers"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
30689d7f6c1e87d564e65c944b6d1fe36eba310f06b2fa39f37d1c0773ef0547c4100e6109cf03f9e844b0eda8832b17e12e137b6f603fa8fa1833705254f360  libmnl-1.0.4.tar.lz
"
