wok view caprice32/receipt @ rev 23962

Add caprice32 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 01 16:36:55 2020 +0000 (2020-10-01)
parents 55e41ff9f4ed
children 095836df71b7
line source
1 # SliTaz package receipt.
3 PACKAGE="caprice32"
4 VERSION="4.6.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="An emulator of the Amstrad CPC 8bit home computer range"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/ColinPitrat/caprice32/"
11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
12 TAGS="emulator amstrad"
14 DEPENDS="libsdl freetype zlib libpng gcc83-lib-base"
15 BUILD_DEPENDS="gcc83 libsdl-dev freetype-dev zlib-dev libpng-dev gcc83-lib-base"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
21 sed -i '/git/d;/GIT/d' makefile
22 make CC=gcc-83 CXX=g++-83 &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }