wok-current view mpc-library/receipt @ rev 24472
updated dd_rescue (1.99.8 -> 1.99.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 15:46:03 2022 +0100 (2022-02-17) |
parents | 81415da32329 |
children | 460a9ffd446e |
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/include $fs/usr
41 }