From: Victor Martinez Date: Tue, 15 Mar 2011 07:46:50 +0000 (+0000) Subject: libmpc: new port, version 0.9 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=ecf4a23411b92795fb53d9ca9971d0ce8d330ebc;p=crossrootfs.git libmpc: new port, version 0.9 --- 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 +}