wok-6.x annotate cmake/receipt @ rev 685

openbox-dev also updated
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 25 16:14:28 2008 +0200 (2008-04-25)
parents 055081613869
children e47d0b9e8a1e
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@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@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@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 strip -s $fs/usr/bin/*
pankso@14 31 }