wok-next view cgames/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cgames"
4 VERSION="2.2b"
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 {
18 sed -i -e 's|install -.*\$|&(destdir)/$|' \
19 -e "s|^prefix|destdir = $install\\n&|" \
20 -e 's/g games/g root/' \
21 */Makefile.in
22 sed -i 's/.* getline(.*/#define getline mygetline\n&/' \
23 */fileread.h
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 --datadir=/usr/share \
29 --disable-mouse \
30 --with-ncurses \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install || return 1
35 find $install -type f -name '*.txt' -exec chmod a-x '{}' \;
36 }
38 genpkg_rules()
39 {
40 copy @std
41 DEPENDS="ncurses"
42 }