wok-next view cgames/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents 466bca9334ef
children 5925d0e91dc7
line source
1 # SliTaz package receipt v2.
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev"
16 compile_rules() {
17 sed -i -e 's|install -.*\$|&(destdir)/$|' \
18 -e "s|^prefix|destdir = $install\\n&|" \
19 -e 's/g games/g root/' */Makefile.in
20 sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h
22 ./configure \
23 --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 || return 1
32 find $install -type f -name '*.txt' -exec chmod a-x '{}' \;
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="ncurses"
38 }