wok view sz81/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents e919c5a2742d
children 29df00e1e19d
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="https://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 }