wok-next view gtkballs/receipt @ rev 20826

palemoon: #5 sys/int_types.h
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Jun 14 09:56:17 2018 +0000 (2018-06-14)
parents 73e86e69e5a1
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtkballs"
4 VERSION="3.1.5"
5 CATEGORY="games"
6 SHORT_DESC="Clone of DOS Lines"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gtkballs.antex.ru/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev"
15 SPLIT="gtkballs-themes gtkballs"
17 compile_rules() {
18 sed -i 's|^localstatedir =.*|localstatedir = /var/games|' Makefile*
19 mkdir -p $install/var/games
20 ./configure \
21 --prefix=/usr \
22 --bindir=/usr/games \
23 --localstatedir=/var/games \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install || return 1
29 cp -a $stuff/cell.xpm $install/usr/share/gtkballs/themes/Default/
30 mv $install/usr/share/gtkballs/themes/Default \
31 $install/usr/share/gtkballs/themes/Original
32 cp -a $install/usr/share/gtkballs/themes/klines \
33 $install/usr/share/gtkballs/themes/Default
34 rm -rf $install/usr/share/gtkballs/themes/klines
36 mkdir -p $install/usr/share/pixmaps/
37 cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \
38 $install/usr/share/pixmaps/gtkballs.png
40 chmod 666 $install/var/games/gtkballs-scores
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 gtkballs-themes)
46 copy themes/
47 CAT="games|game themes"
48 ;;
49 gtkballs)
50 copy @std @rm
51 DEPENDS="gtk+ xorg-libXdamage"
52 SUGGESTED="gtkballs-themes"
53 ;;
54 esac
55 }