wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="bin86"
4 VERSION="0.16.21"
5 CATEGORY="development"
6 SHORT_DESC="A complete 8086 assembler and loader"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.debath.co.uk/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://v3.sk/~lkundrak/dev86/$TARBALL"
12 TAGS="assembler 8086"
14 DEPENDS="glibc-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/lkundrak/dev86/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
27 make PREFIX=/usr &&
28 make PREFIX=$DESTDIR/usr MANDIR=$DESTDIR/usr/share/man/man1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }