wok view caprice32/receipt @ rev 25227

updated python-pyserial (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Jul 13 16:51:10 2022 +0100 (2022-07-13)
parents 6768666226be
children fe1b5660fdd1
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/latest/d;/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
28 sed -i '/git/d;/GIT/d' makefile
29 make CC=gcc-83 CXX=g++-83 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }