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