wok view mfstool/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (23 months ago)
parents afae00265386
children d3556b8f5c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="mfstool"
4 VERSION="0.5pre"
5 CATEGORY="base-system"
6 SHORT_DESC="Allows to manipulate Minix filesystem images in user-space."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://mfstool.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/mfstool/files/mfstool/ 2>/dev/null | \
17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
18 sed '/scope="row/!d;s|.*/mfstool/||;s|/.*||;s|-||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure --prefix=/usr $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs/
33 }