wok annotate fatback/receipt @ rev 25724

added recipes for xfce4-netload-plugin and xfce4-netload-plugin-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:58:59 2024 +0100 (2 months ago)
parents 69e1e705f038
children
rev   line source
pascal@17458 1 # SliTaz package receipt.
pascal@17458 2
pascal@17458 3 PACKAGE="fatback"
pascal@17458 4 VERSION="1.3"
pascal@17458 5 CATEGORY="misc"
pascal@17458 6 SHORT_DESC="A *nix tool for recovering files from FAT file systems."
pascal@17458 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17458 8 LICENSE="GPL2"
pascal@17458 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25510 10 WEB_SITE="https://sourceforge.net/projects/fatback/"
pascal@17458 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@17458 12
pascal@17739 13 BUILD_DEPENDS="flex autoconf automake libtool"
pascal@17458 14
pascal@24385 15 # What is the latest version available today?
pascal@24385 16 current_version()
pascal@24385 17 {
pascal@24385 18 wget -O - https://sourceforge.net/projects/fatback/files/fatback/ 2>/dev/null | \
pascal@25605 19 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 20 sed '/scope="row/!d;s|.*/fatback-||;s|.tar.*||;q'
pascal@24385 21 }
pascal@24385 22
pascal@17458 23 # Rules to configure and make the package.
pascal@17458 24 compile_rules()
pascal@17458 25 {
pascal@24391 26 sed -i 's|yywrap()|1|' setl.c
pascal@17739 27 autoreconf -i
pascal@17458 28 ./configure --prefix=/usr \
pascal@17458 29 $CONFIGURE_ARGS &&
pascal@17458 30 make &&
pascal@17458 31 make DESTDIR=$DESTDIR install
pascal@17458 32 }
pascal@17458 33
pascal@17458 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17458 35 genpkg_rules()
pascal@17458 36 {
pascal@17458 37 mkdir -p $fs/usr/
pascal@17458 38 cp -a $install/usr/bin $fs/usr/
pascal@17458 39 }