wok annotate xa/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | 03d5034fa3d8 |
children | 5a92a26adcc1 |
rev | line source |
---|---|
pascal@19897 | 1 # SliTaz package receipt. |
pascal@19897 | 2 |
pascal@19897 | 3 PACKAGE="xa" |
Hans-G?nter@23740 | 4 VERSION="2.3.10" |
pascal@19897 | 5 CATEGORY="development" |
Hans-G?nter@22146 | 6 TAGS="cross assembler 6502" |
pascal@19897 | 7 SHORT_DESC="6502 cross assembler." |
pascal@19897 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19897 | 9 LICENSE="GPL2" |
Hans-G?nter@23740 | 10 WEB_SITE="https://www.floodgap.com/retrotech/xa/" |
Hans-G?nter@22146 | 11 |
pascal@19897 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19897 | 13 WGET_URL="${WEB_SITE}dists/$TARBALL" |
pascal@19897 | 14 |
pascal@24436 | 15 # What is the latest version available today? |
pascal@24436 | 16 current_version() |
pascal@24436 | 17 { |
pascal@24436 | 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24436 | 19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24436 | 20 } |
pascal@24436 | 21 |
pascal@19897 | 22 # Rules to configure and make the package. |
pascal@19897 | 23 compile_rules() |
pascal@19897 | 24 { |
Hans-G?nter@22146 | 25 make DESTDIR=$DESTDIR/usr && |
Hans-G?nter@22146 | 26 make install DESTDIR=$DESTDIR/usr |
pascal@19897 | 27 } |
pascal@19897 | 28 |
pascal@19897 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19897 | 30 genpkg_rules() |
pascal@19897 | 31 { |
pascal@19897 | 32 mkdir -p $fs/usr |
Hans-G?nter@23740 | 33 cp -a $install/usr/bin $fs/usr |
pascal@19897 | 34 } |