# HG changeset patch # User Pascal Bellard # Date 1601566293 0 # Node ID c391bff2e44c2eb5dd2c215b58ef8bef340387fd # Parent 8ebaede3a143e82348751777b1854794ac304716 Add caprice32 diff -r 8ebaede3a143 -r c391bff2e44c caprice32/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/caprice32/receipt Thu Oct 01 15:31:33 2020 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="caprice32" +VERSION="4.6.0" +CATEGORY="system-tools" +SHORT_DESC="An emulator of the Amstrad CPC 8bit home computer range" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="LGPL2.1" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/ColinPitrat/caprice32/" +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" +TAGS="emulator amstrad" + +DEPENDS="libsdl freetype zlib libpng gcc83-lib-base" +BUILD_DEPENDS="gcc83 libsdl-dev freetype-dev zlib-dev libpng-dev" + +# Rules to configure and make the package. +compile_rules() +{ + grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|' + make CC=gcc-83 CXX=g++-83 && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}