Merge branch 'mpfr' into 'master'
add mpfr-4.1.0 See merge request sulix/packages/main!7
This commit is contained in:
commit
45a7d201f8
1 file changed
+34
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='mpfr'
|
||||||
|
release='1'
|
||||||
|
version='4.1.0'
|
||||||
|
url='https://mpfr.org'
|
||||||
|
description='multiple precision floating-point computation'
|
||||||
|
email='kurth4cker@tutanota.com'
|
||||||
|
maintainer='kurth4cker'
|
||||||
|
license=('LGPL-2.1')
|
||||||
|
source=("https://ftp.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz")
|
||||||
|
depends=(gmp)
|
||||||
|
makedepends=( )
|
||||||
|
md5sums=('bdd3d5efba9c17da8d83a35ec552baef')
|
||||||
|
arch=('x86_64')
|
||||||
|
group=(system.devel)
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64 \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--disable-maintainer-mode \
|
||||||
|
--enable-thread-safe
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
Reference in new issue
Block a user