wok-next annotate cmake/receipt @ rev 15630
php: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 09 09:19:03 2013 +0000 (2013-12-09) |
parents | 8bb42e2bb5e4 |
children | 277131750c7d |
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@15579 | 8 LICENSE="BSD" |
pankso@14 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@14 | 10 WEB_SITE="http://www.cmake.org/" |
slaxemulator@5377 | 11 WGET_URL="http://www.cmake.org/files/v2.8/$TARBALL" |
pankso@14 | 12 |
pascal@15579 | 13 DEPENDS="openssl libidn gcc-lib-base" |
pascal@15579 | 14 BUILD_DEPENDS="ncurses-dev gcc-lib-base" |
pascal@15579 | 15 |
pankso@14 | 16 # Rules to configure and make the package. |
pankso@14 | 17 compile_rules() |
pankso@14 | 18 { |
pankso@14 | 19 cd $src |
pankso@56 | 20 ./bootstrap \ |
pankso@56 | 21 --prefix=/usr \ |
pankso@56 | 22 --docdir=/share/doc/$PACKAGE \ |
slaxemulator@8674 | 23 --mandir=/share/man && |
pascal@1511 | 24 make && |
slaxemulator@8674 | 25 make DESTDIR=$DESTDIR install |
pankso@14 | 26 } |
pankso@14 | 27 |
pankso@14 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 29 genpkg_rules() |
pankso@14 | 30 { |
pascal@15579 | 31 cp -a $install/usr $fs |
pankso@14 | 32 rm -rf $fs/usr/share/man |
pankso@14 | 33 } |
pankso@794 | 34 |
pankso@794 | 35 pre_install() |
pankso@794 | 36 { |
pankso@794 | 37 rm -rf $1/usr/share/cmake-2.4 |
pankso@794 | 38 } |