wok-4.x view mpc-library/receipt @ rev 8392
Added SRC_WANTED to linux-api-headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 04 18:55:13 2011 +0000 (2011-02-04) |
parents | f00e7ade0d04 |
children | cd5b5a4ce7a1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc-library"
4 VERSION="0.8.2"
5 CATEGORY="development"
6 SHORT_DESC="MPC is a C library for the arithmetic of complex numbers."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="mpfr"
9 BUILD_DEPENDS="mpfr"
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 make &&
20 make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/include $fs/usr
29 }