wok diff kegs/receipt @ rev 25552

Add kegs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 08 14:00:41 2023 +0000 (19 months ago)
parents
children 86d79cfc8e5e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kegs/receipt	Sat Apr 08 14:00:41 2023 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="kegs"
     1.7 +VERSION="1.20"
     1.8 +CATEGORY="misc"
     1.9 +TAGS="emulator apple2gs"
    1.10 +SHORT_DESC="An Apple IIgs emulator."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL3"
    1.13 +WEB_SITE="https://kegs.sourceforge.net/"
    1.14 +
    1.15 +TARBALL="${PACKAGE}.$VERSION.zip"
    1.16 +WGET_URL="$WEB_SITE$TARBALL"
    1.17 +
    1.18 +DEPENDS="xorg-libX11 xorg-libXext pulseaudio"
    1.19 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev pulseaudio-dev"
    1.20 +
    1.21 +# What is the latest version available today?
    1.22 +current_version()
    1.23 +{
    1.24 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.25 +	sed '/Download version/!d;s|.*version ||;s| .*||;q'
    1.26 +}
    1.27 +
    1.28 +# Rules to configure and make the package.
    1.29 +compile_rules()
    1.30 +{
    1.31 +	cd src
    1.32 +	rm vars
    1.33 +	ln -s vars_x86linux vars
    1.34 +	make -j 4
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/bin $fs/usr/share
    1.41 +	cp $src/kegs $fs/usr/bin
    1.42 +	cp -a $src/doc $fs/usr/share
    1.43 +}