wok-current annotate bin86/receipt @ rev 24373
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 16:12:08 2022 +0000 (2022-02-05) |
parents | a5b865e166cd |
children | 0aa534391a15 |
rev | line source |
---|---|
slaxemulator@6755 | 1 # SliTaz package receipt. |
slaxemulator@6755 | 2 |
slaxemulator@6755 | 3 PACKAGE="bin86" |
devl547@18339 | 4 VERSION="0.16.21" |
slaxemulator@6755 | 5 CATEGORY="development" |
slaxemulator@6755 | 6 SHORT_DESC="A complete 8086 assembler and loader" |
slaxemulator@6755 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15202 | 8 LICENSE="GPL2" |
al@19278 | 9 WEB_SITE="http://www.debath.co.uk/" |
slaxemulator@6755 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@18339 | 11 WGET_URL="http://v3.sk/~lkundrak/dev86/$TARBALL" |
pascal@13033 | 12 TAGS="assembler 8086" |
slaxemulator@6755 | 13 |
pascal@15202 | 14 DEPENDS="glibc-base" |
pascal@15202 | 15 |
pascal@24373 | 16 # What is the latest version available today? |
pascal@24373 | 17 current_version() |
pascal@24373 | 18 { |
pascal@24373 | 19 wget -O - https://github.com/lkundrak/dev86/tags 2>/dev/null | \ |
pascal@24373 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24373 | 21 } |
pascal@24373 | 22 |
slaxemulator@6755 | 23 # Rules to configure and make the package. |
slaxemulator@6755 | 24 compile_rules() |
slaxemulator@6755 | 25 { |
pascal@15202 | 26 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1 |
slaxemulator@6755 | 27 make PREFIX=/usr && |
pascal@15202 | 28 make PREFIX=$DESTDIR/usr MANDIR=$DESTDIR/usr/share/man/man1 install |
slaxemulator@6755 | 29 } |
slaxemulator@6755 | 30 |
slaxemulator@6755 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6755 | 32 genpkg_rules() |
slaxemulator@6755 | 33 { |
slaxemulator@6755 | 34 mkdir -p $fs/usr |
pascal@15202 | 35 cp -a $install/usr/bin $fs/usr |
slaxemulator@6755 | 36 } |