smlinux/base/libtool/libtool.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

35 lines
737 B
Text
Executable file

# 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 \
--bindir=/bin \
--disable-static
make
make install DESTDIR=$pkg
cp README $pkgdocs/
mkfinalpkg
}
sha512sums="
703840ef4b5407ad0307a50dcba35703388d821a416ae5492e6f772494b073da3f4173902b2372dd4fae2591b7d5200ad49cd339acff1a6d7d72ac0b6751ebf5 libtool-2.4.6.tar.lz
"