wok annotate 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
rev   line source
pascal@24094 1 # SliTaz package receipt.
pascal@24094 2
pascal@24094 3 PACKAGE="fasmg"
pascal@24094 4 VERSION="jdp2"
pascal@24094 5 CATEGORY="development"
pascal@24094 6 SHORT_DESC="Assembly language programming for x86, x86-64."
pascal@24094 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24094 8 LICENSE="other"
pascal@24094 9 WEB_SITE="https://flatassembler.net/"
pascal@24094 10
pascal@24094 11 TARBALL="$PACKAGE.$VERSION.zip"
pascal@24094 12 WGET_URL="$WEB_SITE$TARBALL"
pascal@24094 13
pascal@24094 14 DEPENDS=""
pascal@24094 15 BUILD_DEPENDS=""
pascal@24094 16
pascal@24094 17 current_version()
pascal@24094 18 {
pascal@24094 19 wget -O - $WEB_SITE/download.php 2>/dev/null | \
pascal@24094 20 sed '/"fasmg/!d;s|.zip.*||;s|.*fasmg.||'
pascal@24094 21 }
pascal@24094 22
pascal@24094 23 # Rules to configure and make the package.
pascal@24094 24 compile_rules()
pascal@24094 25 {
pascal@24094 26 mkdir -p $DESTDIR/usr/bin
pascal@24094 27 mkdir -p $DESTDIR/usr/share/doc
pascal@24094 28
pascal@24094 29 cp docs/* $DESTDIR/usr/share/doc
pascal@24094 30 chmod +x fasmg
pascal@24094 31 cd source/linux
pascal@24094 32 ../../fasmg fasmg.asm $DESTDIR/usr/bin/fasmg
pascal@24094 33 }
pascal@24094 34
pascal@24094 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24094 36 genpkg_rules()
pascal@24094 37 {
pascal@24094 38 mkdir -p $fs/usr/share/fasmg
pascal@24094 39 cp -a $install/usr/bin $fs/usr
pascal@24094 40 cp -a $src/examples/* $fs/usr/share/fasmg
pascal@24094 41 }