wok-next view xtron/receipt @ rev 21153
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 16:45:41 2019 +0200 (2019-01-31) |
parents | da9e80c5d4bb |
children |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://ibiblio.org/pub/Linux/games/arcade/$TARBALL"
14 BUILD_DEPENDS="xorg-dev"
16 compile_rules() {
17 sed -i 's|/usr/X386|/usr|' Makefile
18 sed -i 's|./pixmaps/|/usr/share/games/xtron/|' xtronrc
19 sed -i 's|usr/X11/lib|etc|' resource.c xtronrc
21 make || return 1
23 mkdir -p \
24 $install/usr/games \
25 $install/usr/share/games \
26 $install/etc/X11/app-defaults \
27 $install/usr/share/applications
28 cp -a $src/xtron $install/usr/games/
29 cp -a $src/pixmaps $install/usr/share/games/xtron
30 cp -a $src/xtronrc $install/etc/X11/app-defaults/
31 }
33 genpkg_rules() {
34 copy @std
35 DEPENDS="libxpm libxau libxcb"
36 }