wok-current annotate fatattr/receipt @ rev 24880

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