smlinux/base/libtool/libtool.SMBuild

34 lines
717 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libtool
version=2.4.6
build=1sml
homepage="https://www.gnu.org/software/libtool"
download="https://mirror.squ.edu.om/gnu/libtool/libtool-$version.tar.xz"
desc="Generic library support script"
requires="musl m4"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp README $pkgdocs/
mkfinalpkg
}
sha512sums="
703840ef4b5407ad0307a50dcba35703388d821a416ae5492e6f772494b073da3f4173902b2372dd4fae2591b7d5200ad49cd339acff1a6d7d72ac0b6751ebf5 libtool-2.4.6.tar.lz
"