wok-next diff mpfr/receipt @ rev 19862
Up slitaz-base-files again
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 08 15:20:22 2017 +0300 (2017-09-08) |
parents | 10e3347b5a0d |
children | 90a5eb560fd6 |
line diff
1.1 --- a/mpfr/receipt Thu Dec 22 07:11:01 2016 +0200 1.2 +++ b/mpfr/receipt Fri Sep 08 15:20:22 2017 +0300 1.3 @@ -1,9 +1,9 @@ 1.4 -# SliTaz package receipt 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mpfr" 1.8 -VERSION="3.1.4" 1.9 -CATEGORY="development" 1.10 -SHORT_DESC="C library for multiple-precision floating-point computations." 1.11 +VERSION="3.1.5" 1.12 +CATEGORY="libdevel" 1.13 +SHORT_DESC="Multiple-precision floating-point computations" 1.14 MAINTAINER="pankso@slitaz.org" 1.15 LICENSE="GPL3" 1.16 WEB_SITE="http://www.mpfr.org/" 1.17 @@ -12,8 +12,8 @@ 1.18 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.19 WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL" 1.20 1.21 -DEPENDS="gmp" 1.22 BUILD_DEPENDS="gmp-dev texinfo" 1.23 +SPLIT="mpfr-dev" 1.24 1.25 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib 1.26 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include 1.27 @@ -21,8 +21,6 @@ 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 -# patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch 1.32 - 1.33 ./configure \ 1.34 --disable-static \ 1.35 --enable-thread-safe \ 1.36 @@ -31,13 +29,16 @@ 1.37 make && make html && make install && make install-html 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - cook_copy_files *.so* 1.44 -} 1.45 - 1.46 testsuite() 1.47 { 1.48 case "$ARCH" in i?86) make check;; esac 1.49 } 1.50 + 1.51 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.52 +genpkg_rules() 1.53 +{ 1.54 + case $PACKAGE in 1.55 + mpfr) copy @std; DEPENDS="gmp";; 1.56 + *-dev) copy @dev;; 1.57 + esac 1.58 +}