wok view mfstool/receipt @ rev 24442

created recipe for firefox-official-da
author Hans-G?nter Theisgen
date Mon Feb 14 07:26:07 2022 +0100 (2022-02-14)
parents 6c69cec5b70f
children 7dd01dedad38
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="http://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 }