# Maintainer: PktSurf <smlinux@pktsurf.in>
app=acl
version=2.3.2
build=1sml
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=/usr \
    --bindir=/bin \
    --disable-nls

  make
  make install DESTDIR=$pkg

  mkfinalpkg
}

sha512sums="
ab9f6fbc150fc48ef1b7f4734aa933bb651abe6a0ae7994f99603a052a7a9a245597db193d221f325282e9a2c8b8993104dca016986584d231a464e09321931a  acl-2.3.2.tar.lz
"
