From ecf4a23411b92795fb53d9ca9971d0ce8d330ebc Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 15 Mar 2011 07:46:50 +0000 Subject: [PATCH] libmpc: new port, version 0.9 --- libmpc/.footprint | 9 +++++++++ libmpc/.md5sum | 1 + libmpc/Pkgfile | 21 +++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 libmpc/.footprint create mode 100644 libmpc/.md5sum create mode 100644 libmpc/Pkgfile diff --git a/libmpc/.footprint b/libmpc/.footprint new file mode 100644 index 0000000..f2b899b --- /dev/null +++ b/libmpc/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/mpc.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libmpc.a +-rwxr-xr-x root/root usr/lib/libmpc.la +lrwxrwxrwx root/root usr/lib/libmpc.so -> libmpc.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libmpc.so.2 -> libmpc.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libmpc.so.2.0.0 diff --git a/libmpc/.md5sum b/libmpc/.md5sum new file mode 100644 index 0000000..b1f0a5e --- /dev/null +++ b/libmpc/.md5sum @@ -0,0 +1 @@ +0d6acab8d214bd7d1fbbc593e83dd00d mpc-0.9.tar.gz diff --git a/libmpc/Pkgfile b/libmpc/Pkgfile new file mode 100644 index 0000000..bd3bfd6 --- /dev/null +++ b/libmpc/Pkgfile @@ -0,0 +1,21 @@ +# Description: C library for the arithmetic of complex numbers +# URL: http://www.multiprecision.org/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: libmpfr + +name=libmpc +version=0.9 +release=1 +source=(http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz) + +build() { + cd mpc-$version + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + EGREP=egrep + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share +} -- 2.26.2