APP=libnl
VERSION=3.5.0
BUILD=1sml
HOMEPAGE='https://github.com/thom311/libnl'
DESC="Netlink Protocol Library Suite version 3"
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="
ff9f91212e66103476ea01c5842da455aebd060502ae9ca1656fdaaa9ec30e1496e13c3203110371d71af4696d796e1770cb31599961f401aaff53a65c8a98cd  libnl-3.5.0.tar.lz
"
