wok annotate libspiro/receipt @ rev 24975

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 16:22:04 2022 +0000 (2022-05-02)
parents 5ea0ce1cecc0
children 7364ffdaaa60
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@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
al@17914 23 # Rules to configure and make the package.
al@17914 24 compile_rules()
al@17914 25 {
Hans-G?nter@24832 26 autoreconf -i &&
Hans-G?nter@24832 27 automake --foreign -Wall &&
Hans-G?nter@21301 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24832 29 make &&
Hans-G?nter@21301 30 make install
al@17914 31 }
al@17914 32
al@17914 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17914 34 genpkg_rules()
al@17914 35 {
Hans-G?nter@24832 36 cook_copy_files *.so*
al@17914 37 }