wok view mpfr/receipt @ rev 3322
add file-dev | need magic.h for splashy
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Jun 09 18:38:41 2009 +0000 (2009-06-09) |
parents | 2d53be0c420b |
children | fdddd580f15d |
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="2.4.1"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="make gmp"
9 BUILD_DEPENDS="glibc-dev make gmp-dev gmp"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mpfr.org/"
12 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }