wok-6.x annotate genext2fs/receipt @ rev 24591

updated genext2fs (1.4.1 -> 1.5.0)
author Hans-G?nter Theisgen
date Mon Feb 28 17:48:46 2022 +0100 (2022-02-28)
parents 932cd974e081
children ad9008f821da
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@24403 18 wget -O - https://sourceforge.net/projects/genext2fs/files/genext2fs/ 2>/dev/null | \
pascal@24403 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 20 sed '/scope="row/!d;s|.*/genext2fs/||;s|/.*||;q'
pascal@24403 21 }
pascal@24403 22
pascal@17311 23 # Rules to configure and make the package.
pascal@17311 24 compile_rules()
pascal@17311 25 {
Hans-G?nter@24591 26 ./autogen.sh &&
Hans-G?nter@24591 27 ./configure \
Hans-G?nter@24591 28 --prefix=/usr \
pascal@17311 29 $CONFIGURE_ARGS &&
pascal@17311 30 make &&
Hans-G?nter@24591 31 make install DESTDIR=$DESTDIR
pascal@17311 32 }
pascal@17311 33
pascal@17311 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17311 35 genpkg_rules()
pascal@17311 36 {
Hans-G?nter@24591 37 cook_copy_folders bin
pascal@17311 38 }