wok diff fasmg/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fasmg/receipt Sat Apr 23 16:34:46 2022 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fasmg" 1.7 +VERSION="jdp2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Assembly language programming for x86, x86-64." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="other" 1.12 +WEB_SITE="https://flatassembler.net/" 1.13 + 1.14 +TARBALL="$PACKAGE.$VERSION.zip" 1.15 +WGET_URL="$WEB_SITE$TARBALL" 1.16 + 1.17 +DEPENDS="" 1.18 +BUILD_DEPENDS="" 1.19 + 1.20 +current_version() 1.21 +{ 1.22 + wget -O - $WEB_SITE/download.php 2>/dev/null | \ 1.23 + sed '/"fasmg/!d;s|.zip.*||;s|.*fasmg.||' 1.24 +} 1.25 + 1.26 +# Rules to configure and make the package. 1.27 +compile_rules() 1.28 +{ 1.29 + mkdir -p $DESTDIR/usr/bin 1.30 + mkdir -p $DESTDIR/usr/share/doc 1.31 + 1.32 + cp docs/* $DESTDIR/usr/share/doc 1.33 + chmod +x fasmg 1.34 + cd source/linux 1.35 + ../../fasmg fasmg.asm $DESTDIR/usr/bin/fasmg 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p $fs/usr/share/fasmg 1.42 + cp -a $install/usr/bin $fs/usr 1.43 + cp -a $src/examples/* $fs/usr/share/fasmg 1.44 +}