wok-6.x view cmake/receipt @ rev 2211

ghostscript: fix pstoraster support
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 11 17:30:26 2009 +0100 (2009-02-11)
parents e47d0b9e8a1e
children 71ac043c8879
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.6.0"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="ncurses-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cmake.org/"
11 WGET_URL="http://www.cmake.org/files/v2.6/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./bootstrap \
18 --prefix=/usr \
19 --docdir=/share/doc/$PACKAGE \
20 --mandir=/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/* $fs
30 rm -rf $fs/usr/share/man
31 }
33 pre_install()
34 {
35 rm -rf $1/usr/share/cmake-2.4
36 }