APP=make
VERSION=3.82
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/make/'
DOWNLOAD='https://ftp.gnu.org/gnu/make/make-3.82.tar.bz2'
DESC="GNU make utility to maintain groups of programs"
REQUIRES="musl"

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

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

  ./configure \
    --prefix="" \
    $BUILDDIST

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2894d997533a64d709958cae74f133a114e0db6e86dd1dc0d48e32b41f12edb66319a205c7ac536041006453fc0b168d247d329f057826a0d484275c3e949dbb  make-3.82.tar.lz
"
