Added mpc-0.8.1 build template.

--HG--
extra : convert_revision : 2e4ad16ee28b3910bcd894154b16e111db1cd29f
This commit is contained in:
Juan RP 2010-04-15 19:04:48 +02:00
parent fc1ff1ae78
commit 6a29a33fa8
5 changed files with 43 additions and 0 deletions

1
srcpkgs/mpc-devel Symbolic link
View file

@ -0,0 +1 @@
mpc

2
srcpkgs/mpc/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.8.1"
api_depends="${abi_depends}"

View file

@ -0,0 +1,19 @@
# Template file for 'mpc-devel'.
#
short_desc="${sourcepkg} - development files"
long_desc="${long_desc}
This package contains files for development: headers, static libs, etc."
Add_dependency run gmp-devel
Add_dependency run mpfr-devel
Add_dependency run mpc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

20
srcpkgs/mpc/template Normal file
View file

@ -0,0 +1,20 @@
# Template build file for 'mpc'
pkgname=mpc
version=0.8.1
distfiles="http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz"
build_style=gnu_configure
short_desc="C library for the arithmetic of complex numbers"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e664603757251fd8a352848276497a4c79b7f8b21fd8aedd5cc0598a38fee3e4
long_desc="
Mpc is a C library for the arithmetic of complex numbers with arbitrarily
high precision and correct rounding of the result. It is built upon and
follows the same principles as Mpfr."
base_chroot=yes
subpackages="mpc-devel"
Add_dependency run glibc
Add_dependency run gmp
Add_dependency run mpfr
Add_dependency build gmp-devel
Add_dependency build mpfr-devel

View file

@ -601,3 +601,4 @@ libgvfscommon-dnssd.so gvfs gvfs-devel
libnautilus-extension.so nautilus nautilus-devel
libgdict-1.0.so gnome-utils gnome-utils-devel
libgnomeui-2.so.0 libgnomeui libgnomeui-devel
libmpc.so mpc mpc-devel