wok-6.x view xtron/receipt @ rev 24078

gst-plugins-bad, gst-plugins-good, gst-plugins-base-1.0: typo (!)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 16:53:11 2021 +0000 (2021-07-08)
parents
children 318701ea94ca
line source
1 # SliTaz package receipt.
3 PACKAGE="xtron"
4 VERSION="1.1a"
5 CATEGORY="games"
6 SHORT_DESC="Simple X game based on light-cycle race from the movie TRON."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="ftp://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm"
11 WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
13 DEPENDS="xorg-libXpm xorg-libXau libxcb"
14 BUILD_DEPENDS="xorg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/X386|/usr|' Makefile
20 sed -i 's|./pixmaps/|/usr/share/games/xtron/|' xtronrc
21 sed -i 's|usr/X11/lib|etc|' resource.c xtronrc
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/games $fs/usr/share/games $fs/etc/X11/app-defaults
29 mkdir -p $fs/usr/share/applications
30 cp -a $src/xtron $fs/usr/games
31 cp -a $src/pixmaps $fs/usr/share/games/xtron
32 cp -a $src/xtronrc $fs/etc/X11/app-defaults/
33 cat > $fs/usr/share/applications/xtron.desktop <<EOT
34 [Desktop Entry]
35 Type=Application
36 Encoding=UTF-8
37 Name=xtron
38 Exec=xtron
39 Icon=/usr/share/games/xtron/Xtron_icon.xpm
40 Terminal=false
41 Categories=Application;Game;
42 EOT
43 }