From f9b823394ccfad3c82551f05f9362a461acd0003 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 27 Sep 2012 22:04:46 +0400 Subject: + MPFR --- examples/mpfr/Makefile | 24 ++++++++++++++++++++++++ examples/mpfr/mpfr.p5m | 22 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 examples/mpfr/Makefile create mode 100644 examples/mpfr/mpfr.p5m diff --git a/examples/mpfr/Makefile b/examples/mpfr/Makefile new file mode 100644 index 0000000..cde4099 --- /dev/null +++ b/examples/mpfr/Makefile @@ -0,0 +1,24 @@ +include /usr/share/cibs/rules/ips.mk +include /usr/share/cibs/rules/archive.mk +include /usr/share/cibs/rules/autotools.mk +include /usr/share/cibs/rules/32.mk +include /usr/share/cibs/rules/64.mk + +summary := GNU library for multiple-precision floating-point computations with correct rounding +license := LGPLv3 +license-file := COPYING.LESSER + +build-depends += \ + pkg:/library/gmp \ + pkg:/compress/xz \ + +name := mpfr +home := http://www.mpfr.org/ +version := 3.1.1 +archive := $(name)-$(version).tar.xz +download := http://ftp.gnu.org/gnu/$(name)/$(archive) +checksum := \ + md5:91d51c41fcf2799e4ee7a7126fc95c17 \ + sha1:7527c322b91fe8e6055ead551e1b46b9f1712ccd \ + sha256:49d5acc32dbeec30a8e26af9c19845763d63feacb8bf97b12876008419f5a17a \ + size:1071688 diff --git a/examples/mpfr/mpfr.p5m b/examples/mpfr/mpfr.p5m new file mode 100644 index 0000000..6816c07 --- /dev/null +++ b/examples/mpfr/mpfr.p5m @@ -0,0 +1,22 @@ +set name=pkg.fmri value=pkg:/library/$(name)@$(ips_version) +set name=pkg.summary value="$(summary)" +set name=info.upstream-url value="$(home)" +set name=info.source-url value="$(download)" + +license $(license-file) license="$(license)" + +dir path=usr +dir path=usr/include +dir path=usr/lib +dir path=usr/lib/$(MACH64) +dir path=usr/share +dir path=usr/share/info +file path=usr/include/mpf2mpfr.h +file path=usr/include/mpfr.h +file path=usr/lib/$(MACH64)/libmpfr.so.4.1.1 +file path=usr/lib/libmpfr.so.4.1.1 +file path=usr/share/info/mpfr.info +link path=usr/lib/$(MACH64)/libmpfr.so target=libmpfr.so.4.1.1 +link path=usr/lib/$(MACH64)/libmpfr.so.4 target=libmpfr.so.4.1.1 +link path=usr/lib/libmpfr.so target=libmpfr.so.4.1.1 +link path=usr/lib/libmpfr.so.4 target=libmpfr.so.4.1.1 -- cgit v1.2.3