wok view freeciv/receipt @ rev 9069

squirrelmail-smallcal: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 14:43:55 2011 +0100 (2011-03-04)
parents 24232b761795
children 63809d155c57
line source
1 # SliTaz package receipt.
3 PACKAGE="freeciv"
4 VERSION="2.2.4"
5 CATEGORY="games"
6 SHORT_DESC="Empire-building strategy game."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="zlib ncurses readline gtk+ gettext xorg-libXdamage libsdl-mixer bzip2"
12 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext libsdl-mixer-dev glibc-locale bzip2-dev expat-dev"
13 TAGS="strategy"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
20 ./configure --enable-client=gtk --enable-shared &&
21 make -j1 &&
22 make -j1 DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/usr $fs
29 }