wok-6.x view mfstool/receipt @ rev 25461
foobillardplus: add LDFLAGS for -Wl,--copy-dt-needed-entries
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 09:44:06 2022 +0000 (2022-09-28) |
parents | afae00265386 |
children |
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 }