36 lines
751 B
Text
36 lines
751 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
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
|
|
"
|