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