wok view fatback/receipt @ rev 25783

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