wok-current view mpfr/receipt @ rev 14794

catfish: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 08 20:42:48 2013 +0000 (2013-07-08)
parents dd0e8a306fc7
children 2b9f96603415
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.0"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.mpfr.org/"
10 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
12 DEPENDS="gmp"
13 BUILD_DEPENDS="gmp-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }