wok-next view cgames/receipt @ rev 20068

Up libcanberra (gtk2 and gtk3 support), vala (0.36.4), dconf (0.26.0), gucharmap3 (10.0.0), pycairo (1.15.3), pygobject3 (3.26.0), libgtop. Add dconf-editor, gtksourceview3.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 24 17:49:57 2017 +0300 (2017-10-24)
parents 8f50006d2661
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="cgames"
4 VERSION="2.2"
5 CATEGORY="games"
6 SHORT_DESC="Games for the Linux Console."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/cgames.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i -e 's|install -.*\$|&(destdir)/$|' \
20 -e "s|^prefix|destdir = $DESTDIR\\n&|" \
21 -e 's/g games/g root/' */Makefile.in
22 sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h
23 ./configure --prefix=/usr \
24 --mandir=/usr/share/man \
25 --datadir=/usr/share \
26 --disable-mouse \
27 --with-ncurses \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/games $fs/usr
38 cp -a $install/usr/share/cblocks $fs/usr/share
39 cp -a $install/usr/share/csokoban $fs/usr/share
41 find $fs -type f -name '*.txt' -exec chmod a-x \{\} \;
42 }