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"

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="
6650c3f7e628b460530f862e37441b1b7e5135e96fc83eaf77a4c46db030b6564295259b21ca8b221a80273f48163c8e23501d7f25ad8c3fd34adbf6aaefc465  gccmakedep-1.0.3.tar.gz
"
