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