wok view sz81/receipt @ rev 25114

updated pciutils and pciutils-dev (3.6.4 -> 3.8.0)
author Hans-G?nter Theisgen
date Sat Jun 25 16:12:53 2022 +0100 (2022-06-25)
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 }