# HG changeset patch # User Hans-G?nter Theisgen # Date 1592757344 -3600 # Node ID 5925d0e91dc74a1e40c9c2dbd1a2a41c8b2d00cd # Parent b7d7d7addd051e60eaf9b58c4fe4c8dc225676b2 updated cgames (2.2 -> 2.2b) diff -r b7d7d7addd05 -r 5925d0e91dc7 cgames/receipt --- a/cgames/receipt Sun Jun 21 17:30:18 2020 +0100 +++ b/cgames/receipt Sun Jun 21 17:35:44 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="cgames" -VERSION="2.2" +VERSION="2.2b" CATEGORY="games" SHORT_DESC="Games for the Linux Console" MAINTAINER="pascal.bellard@slitaz.org" @@ -13,18 +13,21 @@ BUILD_DEPENDS="ncurses-dev" -compile_rules() { +compile_rules() +{ sed -i -e 's|install -.*\$|&(destdir)/$|' \ -e "s|^prefix|destdir = $install\\n&|" \ - -e 's/g games/g root/' */Makefile.in - sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h + -e 's/g games/g root/' \ + */Makefile.in + sed -i 's/.* getline(.*/#define getline mygetline\n&/' \ + */fileread.h - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --datadir=/usr/share \ - --disable-mouse \ - --with-ncurses \ + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --datadir=/usr/share \ + --disable-mouse \ + --with-ncurses \ $CONFIGURE_ARGS && make && make install || return 1 @@ -32,7 +35,8 @@ find $install -type f -name '*.txt' -exec chmod a-x '{}' \; } -genpkg_rules() { +genpkg_rules() +{ copy @std DEPENDS="ncurses" }