wok-current view vice/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | 5f6c5106b1f5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vice"
4 VERSION="3.3"
5 CATEGORY="games"
6 SHORT_DESC="Commodore 64 and others emulator."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://vice-emu.sourceforge.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/vice-emu/files/releases/$TARBALL"
14 DEPENDS="gtk+ libsdl2 readline"
15 BUILD_DEPENDS="gtk+-dev libsdl2-dev readline-dev xa xorg-bdftopcf xorg-mkfontdir"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/vice-emu/files/releases/ 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*/vice-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|uname -m|echo i486|' src/lib/liblame/Makefile.unix
28 sed -i 's/cp .(fontsdir)/echo &/' data/fonts/Makefile.*
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/
42 cp -a $install/usr/bin $fs/usr/
43 cp -a $install/usr/lib $fs/usr/
44 }