wok-6.x view fatback/receipt @ rev 25192

updated python-formencode (1.2.2 -> 2.0.1)
author Hans-G?nter Theisgen
date Wed Jul 13 10:37:28 2022 +0100 (2022-07-13)
parents 640a2eba2511
children ad0bc3efbf37
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|.*href="|"https://sourceforge.net|;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 }