Commit 512ddae7 authored by Natanael Copa's avatar Natanael Copa

main/libmpc: removed

It is replaced by mpc1
parent 630fa000
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmpc
pkgver=0.9
pkgrel=1
pkgdesc="Multiprecision C library"
url="http://www.multiprecision.org/"
arch="all"
license="LGPL-2.1"
depends=
makedepends="gmp-dev mpfr-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.multiprecision.org/mpc/download/mpc-$pkgver.tar.gz"
_builddir="$srcdir"/mpc-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
# workaround for a bug in configure script
EGREP=egrep \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="0d6acab8d214bd7d1fbbc593e83dd00d mpc-0.9.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment