wok-stable view cmake/receipt @ rev 5655
Up: vorbis-tools (1.4.0)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun May 30 02:41:49 2010 +0000 (2010-05-30) |
parents | 459f0d4ae8a1 |
children | f0dd145f444c |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.8.1"
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 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/* $fs
31 rm -rf $fs/usr/share/man
32 }
34 pre_install()
35 {
36 rm -rf $1/usr/share/cmake-2.4
37 }