wok annotate mpfr/receipt @ rev 17672
Add missing -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 17 12:55:08 2015 +0100 (2015-02-17) |
parents | 3a1e8d25c320 |
children | 6e41896cc317 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
pankso@16319 | 4 VERSION="3.1.2" |
pankso@520 | 5 CATEGORY="development" |
pankso@520 | 6 SHORT_DESC="C library for multiple-precision floating-point computations." |
pankso@520 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@520 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 10 WEB_SITE="http://www.mpfr.org/" |
pankso@520 | 11 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL" |
pankso@16319 | 12 HOST_ARCH="i486 arm" |
pankso@9741 | 13 |
pankso@9741 | 14 DEPENDS="gmp" |
pankso@9750 | 15 BUILD_DEPENDS="gmp-dev" |
pankso@520 | 16 |
pankso@16319 | 17 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib |
pankso@16319 | 18 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include |
pankso@16319 | 19 |
pankso@520 | 20 # Rules to configure and make the package. |
pankso@520 | 21 compile_rules() |
pankso@16319 | 22 { |
devl547@17580 | 23 patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch |
pankso@16319 | 24 ./configure \ |
devl547@17580 | 25 --enable-thread-safe \ |
pankso@16319 | 26 $CONFIGURE_ARGS && |
devl547@17580 | 27 make && make check && make install |
pankso@520 | 28 } |
pankso@520 | 29 |
pankso@520 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 31 genpkg_rules() |
pankso@520 | 32 { |
pankso@520 | 33 mkdir -p $fs/usr/lib |
pankso@12264 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 35 } |