first commit

This commit is contained in:
ngn
2024-07-09 16:44:10 +03:00
commit e1683c711c
66 changed files with 1364 additions and 0 deletions

3
src/mpfr/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/mpfr/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 4.2.1
First version

29
src/mpfr/pkg.sh Normal file
View File

@ -0,0 +1,29 @@
# general info
NAME="mpfr"
DESC="Functions for multiple precision math"
VERSION="4.2.1"
# required files
FILES=("https://ftp.gnu.org/gnu/mpfr/mpfr-${VERSION}.tar.xz")
HASHES=("277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2")
# install and build depends
DEPENDS=("glibc" "gmp")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--disable-static \
--enable-thread-safe \
--docdir="/usr/share/doc/mpfr-${VERSION}"
make && make html
make DESTDIR="${ROOTDIR}" install
make DESTDIR="${ROOTDIR}" install-html
cd .. && rm -r "${NAME}-${VERSION}"
}