wok view dasm/receipt @ rev 25562

ext4magic: add current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 01 08:21:00 2023 +0000 (18 months ago)
parents 07031a7ec1d4
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="dasm"
4 VERSION="2.20.14.1"
5 CATEGORY="development"
6 SHORT_DESC="Versatile macro assembler with support for 8-bit microprocessors."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://dasm-assembler.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/dasm-assembler/$PACKAGE/archive/$VERSION.tar.gz"
14 TAGS="6502 6507 6803 68705 68HC11 HD6303 F8"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 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 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 mkdir -p $install/usr/share
35 cp -a $src/bin $fs/usr
36 cp -a $src/docs $install/usr/share
37 }