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

Add lxlauncher - We can all have a eeepc... and nice for a child
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 15 20:54:54 2008 +0200 (2008-05-15)
parents b61b574cf78e
children 3d99ecce2d4b
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.6.0"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.cmake.org/"
10 WGET_URL="http://www.cmake.org/files/v2.6/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./bootstrap \
17 --prefix=/usr \
18 --docdir=/share/doc/$PACKAGE \
19 --mandir=/share/man \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/* $fs
29 rm -rf $fs/usr/share/man
30 }
32 pre_install()
33 {
34 rm -rf $1/usr/share/cmake-2.4
35 }