wok-current annotate mpc-library/receipt @ rev 24731
updated libdvdread and libdvdread-dev (6.0.2 -> 6.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:30:53 2022 +0100 (2022-03-15) |
parents | 81415da32329 |
children | 460a9ffd446e |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
Hans-G?nter@21481 | 4 VERSION="1.1.0" |
pankso@5268 | 5 CATEGORY="development" |
Hans-G?nter@21481 | 6 SHORT_DESC="A C library for the arithmetic of complex numbers." |
pankso@5268 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
Hans-G?nter@21481 | 9 WEB_SITE="http://www.multiprecision.org/" |
Hans-G?nter@21481 | 10 |
pankso@5268 | 11 SOURCE="mpc" |
pankso@5268 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@21481 | 13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
Hans-G?nter@21481 | 14 |
Hans-G?nter@21481 | 15 DEPENDS="gmp mpfr" |
Hans-G?nter@21481 | 16 BUILD_DEPENDS="gmp-dev mpfr-dev" |
Hans-G?nter@21481 | 17 |
pankso@16319 | 18 HOST_ARCH="i486 arm" |
pankso@16319 | 19 |
pascal@24336 | 20 # What is the latest version available today? |
pascal@24336 | 21 current_version() |
pascal@24336 | 22 { |
pascal@24336 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 24 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 25 } |
pascal@24336 | 26 |
pankso@5268 | 27 compile_rules() |
pankso@5268 | 28 { |
Hans-G?nter@21481 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21481 | 30 make && |
Hans-G?nter@21481 | 31 make install |
pankso@5268 | 32 } |
pankso@5268 | 33 |
pankso@5268 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 35 genpkg_rules() |
pankso@5268 | 36 { |
pankso@5268 | 37 mkdir -p $fs/usr |
Hans-G?nter@21481 | 38 |
Hans-G?nter@21481 | 39 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21481 | 40 cp -a $install/usr/include $fs/usr |
pankso@5268 | 41 } |