smlinux/base/chrpath/chrpath.SMBuild

31 lines
774 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=chrpath
version=0.16
build=2sml
homepage="https://chrpath.alioth.debian.org/"
download="https://alioth.debian.org/frs/download.php/latestfile/813/chrpath-$version.tar.gz"
desc="Program to modify rpath aka dynamic library load path of binaries"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
make
make install mandir="/share/man" docdir="/share/doc/$app-$version" DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
3af577da5a271fa7194135a328ab1b8e2ec185dd3d37938425b46ed77ea1deb813db5ac9fc4f045a45fb7a27194d4a5d6227f922b62980ffd46451b972c4fc5c chrpath-0.16.tar.lz
"