app=make
version=3.82
build=1sml
homepage="https://www.gnu.org/software/make/"
download="https://ftp.gnu.org/gnu/make/make-$version.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
"
