2020-06-26 14:06:32 +02:00
|
|
|
# Description: Package for correctly-rounded arbitrary precision decimal floating point arithmetic.
|
2021-12-13 12:03:15 +01:00
|
|
|
# URL: https://www.bytereef.org/mpdecimal/index.html
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2020-06-26 14:06:32 +02:00
|
|
|
|
|
|
|
name=mpdecimal
|
2024-02-04 10:58:11 +01:00
|
|
|
version=4.0.0
|
2020-06-26 14:06:32 +02:00
|
|
|
release=1
|
2021-12-13 12:03:15 +01:00
|
|
|
source=(https://www.bytereef.org/software/$name/releases/$name-$version.tar.gz)
|
2020-06-26 14:06:32 +02:00
|
|
|
|
|
|
|
build() {
|
2023-12-24 12:43:51 +01:00
|
|
|
cd $name-$version
|
2020-06-26 14:06:32 +02:00
|
|
|
|
2023-12-24 12:43:51 +01:00
|
|
|
./configure --prefix=/usr
|
2020-06-26 14:06:32 +02:00
|
|
|
|
2023-12-24 12:43:51 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2020-06-26 14:06:32 +02:00
|
|
|
|
2023-12-24 12:43:51 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2020-06-26 14:06:32 +02:00
|
|
|
}
|