# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gccmakedep
version=1.0.3
build=1sml
homepage="https://www.x.org/wiki/"
download="https://www.x.org/releases/individual/util/gccmakedep-$version.tar.gz"
desc="Program to create dependencies in makefiles"
requires="make"

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

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

build() {
  ./configure \
    --prefix=

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
18ee3f8a8a8234c902bf82ea5209535d095c66b9e60e790136e330ade38012db5e93dcd565a280181dcdb30ac25e4d3dcde11f33d137e1d168e910653cde9cb0  gccmakedep-1.0.3.tar.lz
"
