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