APP=automake
VERSION=1.16.1
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/automake'
DOWNLOAD='https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz'
DESC="GNU Makefile generator"
REQUIRES="autoconf perl"

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="
cde49f49251a4110b6d6bf71a87c70a02761b937575825049953a5ccb6031e4ee9f4d7ec00b4713e0f1267ddb3265de659e268b09697c4fd401c606910e4605f  automake-1.16.1.tar.lz
"
