wok view fatattr/receipt @ rev 24565

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 25 22:15:31 2022 +0000 (2022-02-25)
parents 86790a278e70
children bfaaab0fd7b3
line source
1 # SliTaz package receipt.
3 PACKAGE="fatattr"
4 VERSION="1.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Handle fat attributes."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.kernel.org/"
11 WGET_URL="http://www.eu.kernel.org/pub/linux/utils/fs/fat/$PACKAGE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://gitlab.com/Terseus/fatattr/-/commits/master 2>/dev/null | \
17 sed '/commits-row/!d;s|.*day="||;s|".*||;s|-||g;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure
25 make
26 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $src/fatattr $fs/usr/bin
34 cp $stuff/fatattr.sh $fs/usr/bin
35 }