wok-6.x view mpc-library/receipt @ rev 5497
Up: pidgin, pidgin-dev, libpurple-dev (2.6.6)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat May 08 08:06:11 2010 +0200 (2010-05-08) |
parents | |
children | 617d180b0c1e |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc-library"
4 VERSION="0.8.1"
5 CATEGORY="development"
6 SHORT_DESC="MPC is a C library for the arithmetic of complex numbers."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="slitaz-toolchain"
10 SOURCE="mpc"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.multiprecision.org/"
13 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL"
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/include $fs/usr
33 }