wok annotate mpc-library/receipt @ rev 14822
Up: libxfce4ui* (4.19.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:48:02 2013 +0200 (2013-07-17) |
parents | 475688256701 |
children | bb009a6ef036 |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
pankso@12271 | 4 VERSION="0.8.2" |
pankso@5268 | 5 CATEGORY="development" |
pankso@5268 | 6 SHORT_DESC="MPC is a C library for the arithmetic of complex numbers." |
pankso@5268 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5268 | 8 SOURCE="mpc" |
pankso@5268 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@5268 | 10 WEB_SITE="http://www.multiprecision.org/" |
pankso@5268 | 11 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL" |
pankso@12271 | 12 BUGS="Shared libs dont build with 0.9" |
pankso@5268 | 13 |
pankso@9751 | 14 DEPENDS="mpfr gmp" |
pankso@9751 | 15 BUILD_DEPENDS="mpfr-dev gmp-dev" |
pankso@9749 | 16 |
pankso@5268 | 17 compile_rules() |
pankso@5268 | 18 { |
pankso@5268 | 19 cd $src |
pankso@12271 | 20 #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch |
pankso@10026 | 21 ./configure $CONFIGURE_ARGS && make && make install |
pankso@5268 | 22 } |
pankso@5268 | 23 |
pankso@5268 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 25 genpkg_rules() |
pankso@5268 | 26 { |
pankso@5268 | 27 mkdir -p $fs/usr |
pankso@12270 | 28 cp -a $install/usr/lib $fs/usr |
pankso@12270 | 29 cp -a $install/usr/include $fs/usr |
pankso@5268 | 30 } |
pankso@5268 | 31 |