wok-4.x annotate cmake/receipt @ rev 14
Add : bash, cmake, curl, curl-dev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:18:33 2007 +0100 (2007-12-18) |
parents | |
children | 055081613869 |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="cmake" |
pankso@14 | 4 VERSION="2.4.7" |
pankso@14 | 5 CATEGORY="devel" |
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@14 | 10 WGET_URL="http://www.cmake.org/files/v2.4/$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@14 | 16 ./bootstrap --prefix=/usr --docdir=/share/doc \ |
pankso@14 | 17 --mandir=/share/man $CONFIGURE_ARGS |
pankso@14 | 18 make |
pankso@14 | 19 make DESTDIR=$PWD/_pkg install |
pankso@14 | 20 } |
pankso@14 | 21 |
pankso@14 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 23 genpkg_rules() |
pankso@14 | 24 { |
pankso@14 | 25 cp -a $_pkg/* $fs |
pankso@14 | 26 rm -rf $fs/usr/share/man |
pankso@14 | 27 strip -s $fs/usr/bin/* |
pankso@14 | 28 } |