APP=chrpath
VERSION=0.16
BUILD=1sml
HOMEPAGE='https://chrpath.alioth.debian.org/'
DOWNLOAD='https://alioth.debian.org/frs/download.php/latestfile/813/chrpath-0.16.tar.gz'
DESC="Program to modify rpath aka dynamic library load path of binaries"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION 
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --mandir=/share/man

  make
  make install DESTDIR=$PKG 

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
aa04d490f78bff20a56fe20539cec10218c0772a668909eda8324ca825f51e8ef92001e95d9c316e79a145a043c9c327ec94d1a82e104ab408ca1021832745aa  chrpath-0.16.tar.gz
"
