wok-6.x view pce/receipt @ rev 24969

created recipe for filezilla-lang
author Hans-G?nter Theisgen
date Tue Apr 26 13:34:22 2022 +0100 (2022-04-26)
parents d8e92fa2a4b1
children 38ce238104db
line source
1 # SliTaz package receipt.
3 PACKAGE="pce"
4 VERSION="20140222-4b05f0c"
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/$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 }