smlinux/base/gmp/gmp.SMBuild
PktSurf 0e36a18b56 Fixed CFLAGS variable in base/{db,gawk}
Converted uppercase variables to lowercase variables in base/fftw
Insert CFLAGS into following build files since the CFLAGS set by bldpkg are not respected by the build systems of these packages:
-> giflib
-> git
-> libelf-compat
Discarded V=s and V=1 arguments from make command in base/{hdparm,hunspell,jam}
Discarded CPU architecture check and related builddist variable from base/gmp
Removed command to discard static library in base/libaio
Temporarily commented out sed command in base/libxml2
2022-10-04 20:20:41 +05:30

32 lines
667 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"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--with-pic \
--enable-cxx
make
make install DESTDIR=$pkg
cp AUTHORS COPYING* NEWS README $pkgdocs/
mkfinalpkg
}
sha512sums="
20cac114b085e434e4b3c5be7a8a9caadc5ce2b0e427fb07877f33631d2ea39df6e4691bbe93e05687c169afc8e0e219c6b4d9481e38f7e98ac907da01e1b7b6 gmp-6.1.2.tar.lz
"