wok annotate libspiro/receipt @ rev 25600
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 15:14:43 2023 +0000 (18 months ago) |
parents | 245803765742 |
children |
rev | line source |
---|---|
al@17914 | 1 # SliTaz package receipt. |
al@17914 | 2 |
al@17914 | 3 PACKAGE="libspiro" |
Hans-G?nter@24832 | 4 VERSION="20200505" |
al@17914 | 5 CATEGORY="misc" |
al@17914 | 6 SHORT_DESC="Spiro simplifies the drawing of beautiful curves." |
al@17914 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17914 | 8 LICENSE="GPL3" |
al@17914 | 9 WEB_SITE="https://github.com/fontforge/libspiro" |
Hans-G?nter@21301 | 10 |
al@17914 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17914 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
al@17914 | 13 |
al@17914 | 14 DEPENDS="" |
Hans-G?nter@21301 | 15 BUILD_DEPENDS="autoconf automake bash cacerts libtool" |
al@17914 | 16 |
pascal@25600 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
al@17914 | 24 # Rules to configure and make the package. |
al@17914 | 25 compile_rules() |
al@17914 | 26 { |
Hans-G?nter@24832 | 27 autoreconf -i && |
Hans-G?nter@24832 | 28 automake --foreign -Wall && |
Hans-G?nter@21301 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24832 | 30 make && |
Hans-G?nter@21301 | 31 make install |
al@17914 | 32 } |
al@17914 | 33 |
al@17914 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17914 | 35 genpkg_rules() |
al@17914 | 36 { |
Hans-G?nter@24832 | 37 cook_copy_files *.so* |
al@17914 | 38 } |