app=autoconf
version=2.69
build=1sml
homepage="https://www.gnu.org/software/autoconf"
download="https://ftp.gnu.org/gnu/autoconf/autoconf-$version.tar.xz"
requires="m4 perl perl-modules diffutils gawk"
desc="m4 macros extension to produce scripts for software packaging"

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
9ab9a95fdba7bed86440ec77d3bc976f30c08fb688c699e68c017c741a3792534ec96f0d1f61e5d0f242b77d0ae29fd541a29653fea82d6fd1b983b192033cb6  autoconf-2.69.tar.lz
"
