wok annotate fatback/receipt @ rev 25234

updated python-routes (2.4.1 -> 2.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:31:59 2022 +0100 (2022-07-13)
parents 640a2eba2511
children ad0bc3efbf37
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@20421 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@24385 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 }