smlinux/base/gmp/gmp.SMBuild
PktSurf 8447f126af Renamed base/fuse to base/fuse2
Discarded code for copying Changelog in base/acpid
Upgraded base/attr to 2.5.1
Replaced CFLAGS with LDFLAGS for static linking in base/coreutils
Removed code that stripped static archive in base/curl
Removed -L/lib flag in LDFLAGS in base/e2fsprogs and partly fixed make install line
Fixed subshell code order in base/file
Disabled compile tests in base/fmt
base/fuse2 's init script path is now passed to configure to remove any need for post compile path and directory fixes
Fixed hardcoded init path in base/fuse3 and removed related unnecessary code
Disabled static lib generation in base/gmp
Base/gpgme now only builds for predefined languages
Rewrote entire build code in base/tree
Partly rewrote build code in base/zip
2023-03-30 10:14:41 +05:30

35 lines
708 B
Text
Executable file

app=gmp
version=6.1.2
build=1sml
homepage="https://gmplib.org/"
download="https://gmplib.org/download/gmp/gmp-$version.tar.lz"
desc="GNU multiple precision arithmetic library"
requires="gcc-libs"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--with-pic \
--enable-cxx \
--disable-static
make
make install DESTDIR=$pkg
cp AUTHORS COPYING* NEWS README $pkgdocs/
mkfinalpkg
}
sha512sums="
20cac114b085e434e4b3c5be7a8a9caadc5ce2b0e427fb07877f33631d2ea39df6e4691bbe93e05687c169afc8e0e219c6b4d9481e38f7e98ac907da01e1b7b6 gmp-6.1.2.tar.lz
"