wok-current view kegs/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 86d79cfc8e5e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="kegs"
4 VERSION="1.20"
5 CATEGORY="misc"
6 TAGS="emulator apple2gs"
7 SHORT_DESC="An Apple IIgs emulator."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://kegs.sourceforge.net/"
12 TARBALL="${PACKAGE}.$VERSION.zip"
13 WGET_URL="$WEB_SITE$TARBALL"
15 DEPENDS="xorg-libX11 xorg-libXext pulseaudio"
16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev pulseaudio-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Download version/!d;s|.*version ||;s| .*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd src
29 rm vars
30 ln -s vars_x86linux vars
31 make -j 4
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin $install/usr/share
38 cp $src/xkegs $fs/usr/bin
39 cp -a $src/doc $install/usr/share
40 }