wok-6.x view sz81/receipt @ rev 24397
updated cc65 (2.18 -> 2.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 13:39:16 2022 +0100 (2022-02-08) |
parents | 77400cc56de2 |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sz81"
4 VERSION="2.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="zx81 emulator/virtual machine.."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sz81.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="emulator zx81"
14 DEPENDS="libsdl"
15 BUILD_DEPENDS="libsdl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/sz81/files/sz81/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/sz81/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make clean &&
29 make &&
30 make PREFIX=$DESTDIR/usr BINDIR=$DESTDIR/usr/bin \
31 DOCDIR=$DESTDIR/usr/share/doc \
32 PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }