wok-4.x view cmake/receipt @ rev 12098
nagios: Typos
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 11 02:33:57 2012 +0100 (2012-03-11) |
parents | 3c8550c8c266 |
children |
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 }