wok-6.x view cgames/receipt @ rev 22133

updated wine-rt and wine-rt-dev (1.7.16 -> 4.0.2)
author Hans-G?nter Theisgen
date Tue Nov 05 07:33:23 2019 +0100 (2019-11-05)
parents 380ffe05937a
children a5216cf15fbc
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 export LDFLAGS="$LDFLAGS -ltinfo"
20 sed -i -e 's|install -.*\$|&(destdir)/$|' \
21 -e "s|^prefix|destdir = $DESTDIR\\n&|" \
22 -e 's/g games/g root/' */Makefile.in
23 sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h
24 ./configure --prefix=/usr \
25 --mandir=/usr/share/man \
26 --datadir=/usr/share \
27 --disable-mouse \
28 --with-ncurses \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/games $fs/usr
39 cp -a $install/usr/share/cblocks $fs/usr/share
40 cp -a $install/usr/share/csokoban $fs/usr/share
42 find $fs -type f -name '*.txt' -exec chmod a-x \{\} \;
43 }