wok annotate dasm/receipt @ rev 24766

Try fuse2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 18:06:12 2022 +0000 (2022-03-18)
parents 07031a7ec1d4
children fe1b5660fdd1
rev   line source
pascal@21774 1 # SliTaz package receipt.
pascal@21774 2
pascal@21774 3 PACKAGE="dasm"
Hans-G?nter@24467 4 VERSION="2.20.14.1"
pascal@21774 5 CATEGORY="development"
Hans-G?nter@24467 6 SHORT_DESC="Versatile macro assembler with support for 8-bit microprocessors."
pascal@21774 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21774 8 LICENSE="GPL2"
Hans-G?nter@24467 9 WEB_SITE="https://dasm-assembler.github.io/"
Hans-G?nter@24467 10
Hans-G?nter@24467 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24467 12 WGET_URL="https://github.com/dasm-assembler/$PACKAGE/archive/$VERSION.tar.gz"
pascal@21774 13
pascal@21774 14 TAGS="6502 6507 6803 68705 68HC11 HD6303 F8"
pascal@21774 15
pascal@24476 16 # What is the latest version available today?
pascal@24476 17 current_version()
pascal@24476 18 {
pascal@24476 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24476 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24476 21 }
pascal@24476 22
pascal@21774 23 # Rules to configure and make the package.
pascal@21774 24 compile_rules()
pascal@21774 25 {
pascal@21774 26 make
pascal@21774 27 }
pascal@21774 28
pascal@21774 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21774 30 genpkg_rules()
pascal@21774 31 {
Hans-G?nter@24467 32 mkdir -p $fs/usr
Hans-G?nter@24467 33 mkdir -p $install/usr/share
Hans-G?nter@24467 34
Hans-G?nter@24467 35 cp -a $src/bin $fs/usr
Hans-G?nter@24468 36 cp -a $src/docs $install/usr/share
pascal@21774 37 }