wok view cmake/receipt @ rev 12248
Up: tazweb (1.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 09 18:39:47 2012 +0200 (2012-04-09) |
parents | 3c8550c8c266 |
children | eb8067417980 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.8.5"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="openssl libidn gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev gcc-lib-base"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cmake.org/"
12 WGET_URL="http://www.cmake.org/files/v2.8/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./bootstrap \
19 --prefix=/usr \
20 --docdir=/share/doc/$PACKAGE \
21 --mandir=/share/man &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $fs
30 rm -rf $fs/usr/share/man
31 }
33 pre_install()
34 {
35 rm -rf $1/usr/share/cmake-2.4
36 }