wok annotate 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
rev   line source
pascal@23960 1 # SliTaz package receipt.
pascal@23960 2
pascal@23960 3 PACKAGE="caprice32"
pascal@23960 4 VERSION="4.6.0"
pascal@23960 5 CATEGORY="system-tools"
pascal@23960 6 SHORT_DESC="An emulator of the Amstrad CPC 8bit home computer range"
pascal@23960 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@23960 8 LICENSE="LGPL2.1"
pascal@23960 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23960 10 WEB_SITE="https://github.com/ColinPitrat/caprice32/"
pascal@23960 11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
pascal@23960 12 TAGS="emulator amstrad"
pascal@23960 13
pascal@23960 14 DEPENDS="libsdl freetype zlib libpng gcc83-lib-base"
pascal@23960 15 BUILD_DEPENDS="gcc83 libsdl-dev freetype-dev zlib-dev libpng-dev"
pascal@23960 16
pascal@23960 17 # Rules to configure and make the package.
pascal@23960 18 compile_rules()
pascal@23960 19 {
pascal@23960 20 grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
pascal@23960 21 make CC=gcc-83 CXX=g++-83 &&
pascal@23960 22 make DESTDIR=$DESTDIR install
pascal@23960 23 }
pascal@23960 24
pascal@23960 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23960 26 genpkg_rules()
pascal@23960 27 {
pascal@23960 28 cp -a $install/* $fs
pascal@23960 29 }