33 lines
617 B
Bash
33 lines
617 B
Bash
#!/usr/bin/env bash
|
|
name='gmp'
|
|
release='2'
|
|
version='6.3.0'
|
|
url='https://gmplib.org'
|
|
description='Library for arbitrary-precision arithmetic on different type of numbers'
|
|
email='kurth4cker@tutanota.com'
|
|
maintainer='kurth4cker'
|
|
license=('GPLv2' 'LGPLv3')
|
|
source=("https://gmplib.org/download/gmp/gmp-${version}.tar.xz")
|
|
md5sums=('956dc04e864001a9c22429f761f2c283')
|
|
arch=('x86_64')
|
|
group=(dev.libs)
|
|
uses=(cxx)
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib64 \
|
|
$(use_opt cxx --enable-cxx --disable-cxx) \
|
|
--enable-fat
|
|
}
|
|
|
|
build(){
|
|
make $jobs
|
|
}
|
|
|
|
package(){
|
|
make install $jobs
|
|
}
|
|
|