wok-6.x view cmake/receipt @ rev 16755
Up slitaz-boot-scripts (5.6.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 16 11:29:33 2014 +0200 (2014-06-16) |
parents | 277131750c7d |
children | 13a965019b9c |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.8.12.2"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cmake.org/"
11 WGET_URL="http://www.cmake.org/files/v2.8/$TARBALL"
13 DEPENDS="openssl libidn gcc-lib-base"
14 BUILD_DEPENDS="ncurses-dev gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./bootstrap \
21 --prefix=/usr \
22 --docdir=/share/doc/$PACKAGE \
23 --mandir=/share/man &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 rm -rf $fs/usr/share/man
33 }