# Maintainer: PktSurf <smlinux@pktsurf.in>
app=acl
version=2.2.53
build=2sml
homepage="http://savannah.nongnu.org/projects/acl"
download="https://download.savannah.nongnu.org/releases/acl/acl-$version.tar.gz"
requires="attr"
desc="Tools and libraries for manipulating POSIX Access Control Lists"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix="" \
    --docdir="/share/doc/$app-$version" 

  make
  make install DESTDIR=$pkg

  mkfinalpkg
}

sha512sums="
7b41ad53b4499bf59cb4d37b51db147a9aef8e72855f28044ae73dd8528272a0762e1e4a769919ca72b6cd1cec31161c166f6707e5534b85ed7718c6f57e8895  acl-2.2.53.tar.lz
"
