# Maintainer: PktSurf <smlinux@pktsurf.in>
app=jam
version=2.5
build=1sml
homepage="http://public.perforce.com/public/jam/src/Jam.html"
download=""
desc="Program construction tool like make"
requires="musl"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version
  mkdir $app-$version
  cd $app-$version

  unzip $srcdir/$app-$version.zip
  fixbuilddirpermissions
}

build() {
  make
  ./jam0 -sBINDIR=$pkg/bin install

  cp Porting README $pkgdocs/

  mkfinalpkg
}

sha512sums="
bbb3132c617a14dff9fcce70e6d88bed298a5c6bee580fa9d9a2d99b47507c252968e5fdf66138e6d69d1f60f724365fd80012164cffc1e3d0f2c1005bcec437  jam-2.5.zip
"
