wok-current view xa/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | c3a6f662a1c1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xa"
4 VERSION="2.3.13"
5 CATEGORY="development"
6 TAGS="cross assembler 6502"
7 SHORT_DESC="6502 cross assembler."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.floodgap.com/retrotech/xa/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}dists/unsupported/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WEB_SITE}dists/ 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make DESTDIR=$DESTDIR/usr &&
26 make install DESTDIR=$DESTDIR/usr
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cook_copy_folders bin
33 }