wok-next annotate xtron/receipt @ rev 21195
updated scrollz (2.2.3 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 15:54:27 2019 +0100 (2019-10-03) |
parents | da9e80c5d4bb |
children |
rev | line source |
---|---|
al@20503 | 1 # SliTaz package receipt v2. |
pascal@17466 | 2 |
pascal@17466 | 3 PACKAGE="xtron" |
pascal@17466 | 4 VERSION="1.1a" |
pascal@17466 | 5 CATEGORY="games" |
al@20503 | 6 SHORT_DESC="Simple X game based on light-cycle race from the movie TRON" |
pascal@17466 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17466 | 8 LICENSE="GPL" |
al@20503 | 9 WEB_SITE="http://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm" |
al@20503 | 10 |
pascal@17466 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
al@20503 | 12 WGET_URL="http://ibiblio.org/pub/Linux/games/arcade/$TARBALL" |
pascal@17466 | 13 |
pascal@17466 | 14 BUILD_DEPENDS="xorg-dev" |
pascal@17466 | 15 |
al@20503 | 16 compile_rules() { |
pascal@17466 | 17 sed -i 's|/usr/X386|/usr|' Makefile |
pascal@17466 | 18 sed -i 's|./pixmaps/|/usr/share/games/xtron/|' xtronrc |
pascal@17466 | 19 sed -i 's|usr/X11/lib|etc|' resource.c xtronrc |
al@20503 | 20 |
al@20503 | 21 make || return 1 |
al@20503 | 22 |
al@20503 | 23 mkdir -p \ |
al@20503 | 24 $install/usr/games \ |
al@20503 | 25 $install/usr/share/games \ |
al@20503 | 26 $install/etc/X11/app-defaults \ |
al@20503 | 27 $install/usr/share/applications |
al@20503 | 28 cp -a $src/xtron $install/usr/games/ |
al@20503 | 29 cp -a $src/pixmaps $install/usr/share/games/xtron |
al@20503 | 30 cp -a $src/xtronrc $install/etc/X11/app-defaults/ |
pascal@17466 | 31 } |
pascal@17466 | 32 |
al@20503 | 33 genpkg_rules() { |
al@20503 | 34 copy @std |
al@21078 | 35 DEPENDS="libxpm libxau libxcb" |
pascal@17466 | 36 } |