wok view dos33fsprogs/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dos33fsprogs"
4 #VERSION="tfv004"
5 VERSION="ootw-v2.8"
6 CATEGORY="system-tools"
7 SHORT_DESC="Tools for manipulating Apple II dos33 filesystems."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.deater.net/weave/vmwprod/apple/dos33fs.html"
12 #WGET_URL="https://github.com/peterferrie/dos33fsprogs/archive/$VERSION.tar.gz"
13 WGET_URL="https://github.com/deater/dos33fsprogs/archive/$VERSION.tar.gz"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i "s|/usr/local|$DESTDIR/usr|" Makefile.inc
25 mkdir -p $DESTDIR/usr/bin
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs/
34 }