wok-next view xgalaga/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xgalaga"
4 VERSION="2.1.1.0"
5 CATEGORY="games"
6 SHORT_DESC="A clone of the classic game Galaga for the X Window System"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/xgalaga/"
10 HOST_ARCH="i486"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="xorg-dev"
17 compile_rules() {
18 mkdir -p $install/usr/share/man/man6
19 sed -i -e 's|\$(mandir)|$(DESTDIR)&|' \
20 -e 's|@prefix@|/usr/share/xgalaga|' \
21 -e 's|@exec_prefix@|/usr/bin|' \
22 -e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \
23 Makefile.in
24 ./configure $CONFIGURE_ARGS
25 sed \
26 -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \
27 -e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \
28 -e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \
29 -e 's|/usr/scores|/var/games/xgalaga/scores|' \
30 -i config.h
31 make &&
32 make DESTDIR=$install install
33 }
35 genpkg_rules() {
36 mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores
37 cp -a $install/usr/share/xgalaga $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp $stuff/*.desktop $fs/usr/share/applications
40 DEPENDS="libx11 libxmu libxt libxext libxpm \
41 libxcb libxau libxdmcp libsm libice util-linux-uuid"
42 }