smlinux/base/libqalculate/libqalculate.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

36 lines
837 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libqalculate
version=4.0.0
build=1sml
homepage="https://github.com/Qalculate/libqalculate"
download="https://github.com/Qalculate/libqalculate/releases/download/v$version/libqalculate-$version.tar.gz"
desc="Provides functions for a multi-purpose calculator"
requires="libxml2 curl"
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 \
--disable-nls
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
1a72e9338716481c882e108e9b2c148288dd7c507f353067a9b65d7cb962ac01876fe59b8b760a63cfc46349ccfc1d91ff39a0d6610f66439d7619cb2e648832 libqalculate-4.0.0.tar.lz
"