wok-next view mpc-library/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 90a5eb560fd6 |
children | 4e6503d7a19f |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpc-library"
4 VERSION="1.0.3"
5 CATEGORY="development"
6 SHORT_DESC="MPC library: complex numbers arithmetic"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.multiprecision.org/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/mpc.html"
12 TARBALL="mpc-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}mpc/download/$TARBALL"
15 BUILD_DEPENDS="mpfr-dev gmp-dev texinfo"
16 SPLIT="mpc-library-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make html &&
25 make install &&
26 make install-html
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 mpc-library)
32 copy @std
33 DEPENDS="mpfr gmp"
34 TAGS="LFS"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="mpc-library mpfr-dev gmp-dev"
39 ;;
40 esac
41 }