wok rev 23960

Add caprice32
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 01 15:31:33 2020 +0000 (2020-10-01)
parents 8ebaede3a143
children 55e41ff9f4ed
files caprice32/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/caprice32/receipt	Thu Oct 01 15:31:33 2020 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="caprice32"
     1.7 +VERSION="4.6.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="An emulator of the Amstrad CPC 8bit home computer range"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="LGPL2.1"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/ColinPitrat/caprice32/"
    1.14 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.15 +TAGS="emulator amstrad"
    1.16 +
    1.17 +DEPENDS="libsdl freetype zlib libpng gcc83-lib-base"
    1.18 +BUILD_DEPENDS="gcc83 libsdl-dev freetype-dev zlib-dev libpng-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
    1.24 +	make CC=gcc-83 CXX=g++-83 &&
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +}