wok-next view cmake/receipt @ rev 10165
Up: libsoup to 2.34.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 20:23:35 2011 +0000 (2011-05-20) |
parents | e96032e38714 |
children | 8bb42e2bb5e4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.8.4"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="openssl libidn gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cmake.org/"
12 WGET_URL="http://www.cmake.org/files/v2.8/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./bootstrap \
19 --prefix=/usr \
20 --docdir=/share/doc/$PACKAGE \
21 --mandir=/share/man &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $fs
30 rm -rf $fs/usr/share/man
31 }
33 pre_install()
34 {
35 rm -rf $1/usr/share/cmake-2.4
36 }