wok-next view gtkballs/receipt @ rev 21583

updated ddclient (3.8.3 -> 3.9.1)
author Hans-G?nter Theisgen
date Tue Jun 23 16:30:52 2020 +0100 (2020-06-23)
parents d5aab818505e
children
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="devel@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="gtk2-dev"
15 SPLIT="$PACKAGE-themes $PACKAGE"
17 compile_rules() {
18 sed -i 's|^localstatedir =.*|localstatedir = /var/games|' Makefile*
19 mkdir -p $install/var/games
21 ./configure \
22 --prefix=/usr \
23 --bindir=/usr/games \
24 --localstatedir=/var/games \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$install install || return 1
30 cp -a $stuff/cell.xpm $install/usr/share/gtkballs/themes/Default/
31 mv $install/usr/share/gtkballs/themes/Default \
32 $install/usr/share/gtkballs/themes/Original
33 cp -a $install/usr/share/gtkballs/themes/klines \
34 $install/usr/share/gtkballs/themes/Default
35 rm -rf $install/usr/share/gtkballs/themes/klines
37 mkdir -p $install/usr/share/pixmaps/
38 cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \
39 $install/usr/share/pixmaps/gtkballs.png
41 chmod 666 $install/var/games/gtkballs-scores
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 gtkballs-themes)
47 copy themes/
48 CAT="games|game themes"
49 ;;
50 gtkballs)
51 copy @std @rm
52 DEPENDS="gtk2 libxdamage"
53 SUGGESTED="gtkballs-themes"
54 ;;
55 esac
56 }