wok view mpc-library/receipt @ rev 22711

exempi: add bin/exempi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 22 11:18:51 2020 +0100 (2020-01-22)
parents 57f304bdc541
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc-library"
4 VERSION="1.1.0"
5 CATEGORY="development"
6 SHORT_DESC="A C library for the arithmetic of complex numbers."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.multiprecision.org/"
11 SOURCE="mpc"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
15 DEPENDS="gmp mpfr"
16 BUILD_DEPENDS="gmp-dev mpfr-dev"
18 HOST_ARCH="i486 arm"
20 compile_rules()
21 {
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/include $fs/usr
34 }