summaryrefslogtreecommitdiff
path: root/system/mpfr3/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 02:22:19 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 02:22:56 -0500
commitb1eb50599e4db7eb4501af75cbbfa22007081ea5 (patch)
treec94a34c882cc17adedd781e8c5f34349b2a62416 /system/mpfr3/APKBUILD
parentb9e85bbdcf38547ef2ca4e5c2a6e6293bbcd2752 (diff)
downloadpackages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.gz
packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.bz2
packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.xz
packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.zip
The New Plan
all pkgs needed to bootstrap -> system others -> user
Diffstat (limited to 'system/mpfr3/APKBUILD')
-rw-r--r--system/mpfr3/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/system/mpfr3/APKBUILD b/system/mpfr3/APKBUILD
new file mode 100644
index 000000000..a74cccb4c
--- /dev/null
+++ b/system/mpfr3/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=mpfr3
+pkgver=3.1.5
+pkgrel=1
+pkgdesc="multiple-precision floating-point library"
+url="http://www.mpfr.org/"
+arch="all"
+license="GPL LGPL"
+depends=""
+makedepends_build="texinfo"
+makedepends_host="gmp-dev"
+makedepends="$makedepends_build $makedepends_host"
+source="http://www.mpfr.org/mpfr-$pkgver/mpfr-$pkgver.tar.xz"
+subpackages="$pkgname-doc mpfr-dev"
+builddir="$srcdir/mpfr-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --with-sysroot="$CBUILDROOT" \
+ --prefix=/usr \
+ --enable-shared
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+dev() {
+ replaces=mpfr
+ default_dev
+}
+
+md5sums="c4ac246cf9795a4491e7766002cd528f mpfr-3.1.5.tar.xz"
+sha256sums="015fde82b3979fbe5f83501986d328331ba8ddf008c1ff3da3c238f49ca062bc mpfr-3.1.5.tar.xz"
+sha512sums="3643469b9099b31e41d6ec9158196cd1c30894030c8864ee5b1b1e91b488bccbf7c263c951b03fe9f4ae6f9d29279e157a7dfed0885467d875f107a3d964f032 mpfr-3.1.5.tar.xz"