wok-next rev 21545
updated cgames (2.2 -> 2.2b)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:35:44 2020 +0100 (2020-06-21) |
parents | b7d7d7addd05 |
children | 352233ef855e |
files | cgames/receipt |
line diff
1.1 --- a/cgames/receipt Sun Jun 21 17:30:18 2020 +0100 1.2 +++ b/cgames/receipt Sun Jun 21 17:35:44 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="cgames" 1.7 -VERSION="2.2" 1.8 +VERSION="2.2b" 1.9 CATEGORY="games" 1.10 SHORT_DESC="Games for the Linux Console" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -13,18 +13,21 @@ 1.13 1.14 BUILD_DEPENDS="ncurses-dev" 1.15 1.16 -compile_rules() { 1.17 +compile_rules() 1.18 +{ 1.19 sed -i -e 's|install -.*\$|&(destdir)/$|' \ 1.20 -e "s|^prefix|destdir = $install\\n&|" \ 1.21 - -e 's/g games/g root/' */Makefile.in 1.22 - sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h 1.23 + -e 's/g games/g root/' \ 1.24 + */Makefile.in 1.25 + sed -i 's/.* getline(.*/#define getline mygetline\n&/' \ 1.26 + */fileread.h 1.27 1.28 - ./configure \ 1.29 - --prefix=/usr \ 1.30 - --mandir=/usr/share/man \ 1.31 - --datadir=/usr/share \ 1.32 - --disable-mouse \ 1.33 - --with-ncurses \ 1.34 + ./configure \ 1.35 + --prefix=/usr \ 1.36 + --mandir=/usr/share/man \ 1.37 + --datadir=/usr/share \ 1.38 + --disable-mouse \ 1.39 + --with-ncurses \ 1.40 $CONFIGURE_ARGS && 1.41 make && 1.42 make install || return 1 1.43 @@ -32,7 +35,8 @@ 1.44 find $install -type f -name '*.txt' -exec chmod a-x '{}' \; 1.45 } 1.46 1.47 -genpkg_rules() { 1.48 +genpkg_rules() 1.49 +{ 1.50 copy @std 1.51 DEPENDS="ncurses" 1.52 }