wok-next view cgames/receipt @ rev 10721
postfix: Fixed uid for postdrop group and postfix user. We should use uid 75 for postfix user and uid 73 for postdrop. Postdrop group was seting itself to 1000 uid before.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 28 18:20:04 2011 +0000 (2011-05-28) |
parents | |
children | 00c51b3a010b |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/cgames.html"
10 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software/$TARBALL"
11 DEPENDS="ncurses"
12 BUILD_DEPENDS="ncurses-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i -e 's|install -.*\$|&(destdir)/$|' \
19 -e "s|^prefix|destdir = $DESTDIR\\n&|" \
20 -e 's/g games/g root/' */Makefile.in
21 sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h
22 ./configure --prefix=/usr \
23 --mandir=/usr/share/man \
24 --datadir=/usr/share \
25 --disable-mouse \
26 --with-ncurses \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $_pkg/usr/games $fs/usr
37 cp -a $_pkg/usr/share/cblocks $fs/usr/share
38 cp -a $_pkg/usr/share/csokoban $fs/usr/share
39 }