wok-6.x view xa/receipt @ rev 24548
created recipe for firefox-official-pl
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:47:13 2022 +0100 (2022-02-25) |
parents | 03d5034fa3d8 |
children | 5a92a26adcc1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xa"
4 VERSION="2.3.10"
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/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }