wok annotate genext2fs/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents d2113b0b8c40
children
rev   line source
pascal@17311 1 # SliTaz package receipt.
pascal@17311 2
pascal@17311 3 PACKAGE="genext2fs"
Hans-G?nter@24591 4 VERSION="1.5.0"
pascal@17311 5 CATEGORY="base-system"
pascal@17311 6 SHORT_DESC="Generates an ext2 filesystem as a normal (i.e. non-root) user."
pascal@17311 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17311 8 LICENSE="GPL2"
Hans-G?nter@24591 9 WEB_SITE="https://github.com/bestouff/genext2fs"
pascal@17311 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24591 11 WGET_URL="https://github.com/bestouff/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"
Hans-G?nter@24591 12
Hans-G?nter@24591 13 BUILD_DEPENDS="automake"
pascal@17311 14
pascal@24403 15 # What is the latest version available today?
pascal@24403 16 current_version()
pascal@24403 17 {
pascal@24626 18 wget -O - https://github.com/bestouff/genext2fs/tags 2>/dev/null | \
pascal@24626 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24403 20 }
pascal@24403 21
pascal@17311 22 # Rules to configure and make the package.
pascal@17311 23 compile_rules()
pascal@17311 24 {
Hans-G?nter@24591 25 ./autogen.sh &&
Hans-G?nter@24591 26 ./configure \
Hans-G?nter@24591 27 --prefix=/usr \
pascal@17311 28 $CONFIGURE_ARGS &&
pascal@17311 29 make &&
Hans-G?nter@24591 30 make install DESTDIR=$DESTDIR
pascal@17311 31 }
pascal@17311 32
pascal@17311 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17311 34 genpkg_rules()
pascal@17311 35 {
Hans-G?nter@24591 36 cook_copy_folders bin
pascal@17311 37 }