APP=libcap-ng
VERSION=0.7.10
BUILD=1sml
HOMEPAGE='https://people.redhat.com/sgrubb/libcap-ng/'
DOWNLOAD='https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.10.tar.gz'
DESC="capabilities library and utilities"
REQUIRES="musl"

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

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

  ./configure \
    --prefix="" \
    --enable-static=no \
    --with-python=no \
    --with-python3=no

  make
  make install DESTDIR=$PKG 

  cp COPYING* LICENSE $PKGDOCS/
 
  mkfinalpkg
}

SHA512SUMS="
87ae6cc41ce67a0258b1ada7b4984e87039e2a6817b265cf6c9f07c0047e27ed555165bd4390f5e49e2a0c73f76772ab111d2cb071e07d85a049aeaf3a6af5c8  libcap-ng-0.7.10.tar.lz
"
