wok view cmake/receipt @ rev 9281
Add some perl modules for backuppc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 09:12:53 2011 +0100 (2011-03-16) |
parents | e96032e38714 |
children | 8bb42e2bb5e4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.8.4"
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"
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 }