wok-current view pce/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 2f230197370e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pce"
4 VERSION="20220220-991c55d9"
5 CATEGORY="misc"
6 SHORT_DESC="A collection of microcomputer emulators."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.hampa.ch/pce/about.html"
11 WGET_URL="http://www.hampa.ch/pub/pce/pre/$PACKAGE-$VERSION/$TARBALL"
12 TAGS="emulator atari macplus"
14 DEPENDS="readline ncurses libsdl xorg-libX11 libxcb xorg-libXau xorg-libXdmcp"
15 BUILD_DEPENDS="readline-dev ncurses-dev libsdl-dev xorg-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://www.hampa.ch/pce/download.html 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 --sysconfdir=/etc \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs/
39 }