wok-current annotate cmake/receipt @ rev 2640
gpxe: move urls to mirrors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 17 21:08:06 2009 +0200 (2009-04-17) |
parents | 71ac043c8879 |
children | e91f31998fda |
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" |
pascal@2513 | 8 DEPENDS="openssl libidn" |
pascal@1511 | 9 BUILD_DEPENDS="ncurses-dev" |
pankso@14 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@14 | 11 WEB_SITE="http://www.cmake.org/" |
pankso@794 | 12 WGET_URL="http://www.cmake.org/files/v2.6/$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 \ |
pankso@56 | 21 --mandir=/share/man \ |
pascal@1511 | 22 $CONFIGURE_ARGS && |
pascal@1511 | 23 make && |
pankso@14 | 24 make DESTDIR=$PWD/_pkg install |
pankso@14 | 25 } |
pankso@14 | 26 |
pankso@14 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 28 genpkg_rules() |
pankso@14 | 29 { |
pankso@14 | 30 cp -a $_pkg/* $fs |
pankso@14 | 31 rm -rf $fs/usr/share/man |
pankso@14 | 32 } |
pankso@794 | 33 |
pankso@794 | 34 pre_install() |
pankso@794 | 35 { |
pankso@794 | 36 rm -rf $1/usr/share/cmake-2.4 |
pankso@794 | 37 } |