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-1.0.6/makedepend-makedepend-1.0.6.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
"
