wok-6.x annotate vice/receipt @ rev 24722

updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author Hans-G?nter Theisgen
date Tue Mar 15 10:03:33 2022 +0100 (2022-03-15)
parents ace9ad9d5bb1
children 00bff3684d8a
rev   line source
devl547@13769 1 # SliTaz package receipt.
devl547@13769 2
devl547@13769 3 PACKAGE="vice"
Hans-G?nter@22100 4 VERSION="3.3"
devl547@13769 5 CATEGORY="games"
devl547@13769 6 SHORT_DESC="Commodore 64 and others emulator."
devl547@13769 7 MAINTAINER="devl547@gmail.com"
pascal@15216 8 LICENSE="GPL2"
Hans-G?nter@22100 9 WEB_SITE="http://www.viceteam.org/"
Hans-G?nter@22100 10
devl547@13769 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19721 12 WGET_URL="$SF_MIRROR/vice-emu/files/releases/$TARBALL"
devl547@13769 13
Hans-G?nter@22100 14 DEPENDS="gtk+ libsdl2 readline"
Hans-G?nter@22100 15 BUILD_DEPENDS="gtk+-dev libsdl2-dev readline-dev xa xorg-bdftopcf xorg-mkfontdir"
pascal@15216 16
pascal@24340 17 # What is the latest version available today?
pascal@24340 18 current_version()
pascal@24340 19 {
pascal@24340 20 wget -O - https://sourceforge.net/projects/vice-emu/files/releases/ 2>/dev/null | \
pascal@24340 21 sed '/scope="row/!d;/tar/!d;s|.*/vice-||;s|.tar.*||;q'
pascal@24340 22 }
pascal@24340 23
devl547@13769 24 # Rules to configure and make the package.
devl547@13769 25 compile_rules()
devl547@13769 26 {
pascal@20212 27 sed -i 's|uname -m|echo i486|' src/lib/liblame/Makefile.unix
pascal@15285 28 sed -i 's/cp .(fontsdir)/echo &/' data/fonts/Makefile.*
Hans-G?nter@22100 29
Hans-G?nter@22100 30 ./configure \
Hans-G?nter@22100 31 --prefix=/usr \
devl547@13769 32 $CONFIGURE_ARGS &&
Hans-G?nter@22100 33 make $MAKEFLAGS &&
Hans-G?nter@22100 34 make DESTDIR=$DESTDIR install
devl547@13769 35 }
devl547@13769 36
devl547@13769 37 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13769 38 genpkg_rules()
devl547@13769 39 {
devl547@13769 40 mkdir -p $fs/usr/
Hans-G?nter@22100 41
Hans-G?nter@22100 42 cp -a $install/usr/bin $fs/usr/
Hans-G?nter@22100 43 cp -a $install/usr/lib $fs/usr/
devl547@13769 44 }