wok-4.x view cmake/receipt @ rev 10739

locale-*: Up to 4.0 version string, had core pkgs to french pack (we dont have any po file now!) and add nano, mtpaint, midori to all languages pack
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 00:54:30 2011 +0200 (2011-05-30)
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 }