wok annotate vice/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents 5f6c5106b1f5
children
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"
pascal@25421 9 WEB_SITE="https://vice-emu.sourceforge.io/"
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 }