app=makedepend
version=1.0.6
build=1sml
homepage="https://gitlab.freedesktop.org/xorg/util/makedepend"
download="https://gitlab.freedesktop.org/xorg/util/makedepend/-/archive/makedepend-$version/makedepend-makedepend-$version.tar.bz2"
desc="Utility to parse C source files to make dependency lists for Makefiles"
requires="musl"

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="
7d683cc654a54f228546230f4a9c5cf5b93babe8ea9835376763643f43bb44ef96ceb89df94cec60ac5343e3261860c57e6cc09187ae893512b5655d85de0f9a  makedepend-1.0.6.tar.gz
"
