wok-6.x view mpc-library/receipt @ rev 25223

updated python-pyalsaaudio (0.8.4 -> 0.9.0)
author Hans-G?nter Theisgen
date Wed Jul 13 16:25:00 2022 +0100 (2022-07-13)
parents 71360a13cd94
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc-library"
4 VERSION="1.2.1"
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="https://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 cook_copy_folders include
38 cook_copy_folders lib
39 }