From b7505cf6a3336a4b8ac926666793d02ea9bcca59 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 7 Dec 2011 14:19:06 +0100 Subject: [PATCH] libmpc: Initial import, added MACHTYPE to configure options --- libmpc/.footprint | 9 +++++++++ libmpc/.md5sum | 1 + libmpc/Pkgfile | 18 ++++++++++++++++++ 3 files changed, 28 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..37fcd64 --- /dev/null +++ b/libmpc/Pkgfile @@ -0,0 +1,18 @@ +# 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 --prefix=/usr --build=$MACHTYPE EGREP=egrep + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share +} -- 2.26.2