wok-next annotate cmake/receipt @ rev 15143

Up cromfs (1.5.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:33:36 2013 +0000 (2013-08-15)
parents 3c8550c8c266
children eb8067417980
rev   line source
pankso@14 1 # SliTaz package receipt.
pankso@14 2
pankso@14 3 PACKAGE="cmake"
slaxemulator@11085 4 VERSION="2.8.5"
pankso@200 5 CATEGORY="development"
pankso@14 6 SHORT_DESC="Cross-platform Make."
pankso@14 7 MAINTAINER="pankso@slitaz.org"
pascal@4999 8 DEPENDS="openssl libidn gcc-lib-base"
slaxemulator@11085 9 BUILD_DEPENDS="ncurses-dev gcc-lib-base"
pankso@14 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@14 11 WEB_SITE="http://www.cmake.org/"
slaxemulator@5377 12 WGET_URL="http://www.cmake.org/files/v2.8/$TARBALL"
pankso@14 13
pankso@14 14 # Rules to configure and make the package.
pankso@14 15 compile_rules()
pankso@14 16 {
pankso@14 17 cd $src
pankso@56 18 ./bootstrap \
pankso@56 19 --prefix=/usr \
pankso@56 20 --docdir=/share/doc/$PACKAGE \
slaxemulator@8674 21 --mandir=/share/man &&
pascal@1511 22 make &&
slaxemulator@8674 23 make DESTDIR=$DESTDIR install
pankso@14 24 }
pankso@14 25
pankso@14 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@14 27 genpkg_rules()
pankso@14 28 {
slaxemulator@8674 29 cp -a $_pkg/usr $fs
pankso@14 30 rm -rf $fs/usr/share/man
pankso@14 31 }
pankso@794 32
pankso@794 33 pre_install()
pankso@794 34 {
pankso@794 35 rm -rf $1/usr/share/cmake-2.4
pankso@794 36 }