wok diff cgames/receipt @ rev 23190
updated mpc (0.31 -> 0.33)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 20 09:22:39 2020 +0100 (2020-03-20) |
parents | 17e313b5b9c1 |
children | 4bc80d930fe0 |
line diff
1.1 --- a/cgames/receipt Tue Feb 17 09:42:47 2015 +0100 1.2 +++ b/cgames/receipt Fri Mar 20 09:22:39 2020 +0100 1.3 @@ -1,12 +1,13 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="cgames" 1.7 -VERSION="2.2" 1.8 +VERSION="2.2a" 1.9 CATEGORY="games" 1.10 SHORT_DESC="Games for the Linux Console." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/cgames.html" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software/$TARBALL" 1.17 1.18 @@ -17,16 +18,21 @@ 1.19 compile_rules() 1.20 { 1.21 export LDFLAGS="$LDFLAGS -ltinfo" 1.22 - sed -i -e 's|install -.*\$|&(destdir)/$|' \ 1.23 - -e "s|^prefix|destdir = $DESTDIR\\n&|" \ 1.24 - -e 's/g games/g root/' */Makefile.in 1.25 - sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h 1.26 - ./configure --prefix=/usr \ 1.27 - --mandir=/usr/share/man \ 1.28 - --datadir=/usr/share \ 1.29 - --disable-mouse \ 1.30 - --with-ncurses \ 1.31 - $CONFIGURE_ARGS && 1.32 + 1.33 + sed -i -e 's|install -.*\$|&(destdir)/$|' \ 1.34 + -e "s|^prefix|destdir = $DESTDIR\\n&|" \ 1.35 + -e 's/g games/g root/' \ 1.36 + */Makefile.in 1.37 + sed -i 's/.* getline(.*/#define getline mygetline\n&/' \ 1.38 + */fileread.h 1.39 + 1.40 + ./configure \ 1.41 + --prefix=/usr \ 1.42 + --mandir=/usr/share/man \ 1.43 + --datadir=/usr/share \ 1.44 + --disable-mouse \ 1.45 + --with-ncurses \ 1.46 + $CONFIGURE_ARGS && 1.47 make && 1.48 make install 1.49 } 1.50 @@ -35,9 +41,10 @@ 1.51 genpkg_rules() 1.52 { 1.53 mkdir -p $fs/usr/share 1.54 - cp -a $install/usr/games $fs/usr 1.55 - cp -a $install/usr/share/cblocks $fs/usr/share 1.56 - cp -a $install/usr/share/csokoban $fs/usr/share 1.57 + 1.58 + cp -a $install/usr/games $fs/usr 1.59 + cp -a $install/usr/share/cblocks $fs/usr/share 1.60 + cp -a $install/usr/share/csokoban $fs/usr/share 1.61 1.62 find $fs -type f -name '*.txt' -exec chmod a-x \{\} \; 1.63 }