wok-current view caprice32/receipt @ rev 23960
Add caprice32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 01 15:31:33 2020 +0000 (2020-10-01) |
parents | |
children | 55e41ff9f4ed |
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"
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 make CC=gcc-83 CXX=g++-83 &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 }