wok-stable view cmake/receipt @ rev 2047

sqlite: --disable-readline
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 17 13:00:22 2009 +0100 (2009-01-17)
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 }