wok annotate 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 |
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@17033 | 10 WEB_SITE="http://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 } |