wok annotate caprice32/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | 55e41ff9f4ed |
children | 095836df71b7 |
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@23962 | 15 BUILD_DEPENDS="gcc83 libsdl-dev freetype-dev zlib-dev libpng-dev gcc83-lib-base" |
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@23962 | 21 sed -i '/git/d;/GIT/d' makefile |
pascal@23960 | 22 make CC=gcc-83 CXX=g++-83 && |
pascal@23960 | 23 make DESTDIR=$DESTDIR install |
pascal@23960 | 24 } |
pascal@23960 | 25 |
pascal@23960 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23960 | 27 genpkg_rules() |
pascal@23960 | 28 { |
pascal@23960 | 29 cp -a $install/* $fs |
pascal@23960 | 30 } |