wok-current view cmake/receipt @ rev 17267
Add linux-romfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 18:05:56 2014 +0200 (2014-10-23) |
parents | 277131750c7d |
children | 13a965019b9c |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.8.12.2"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cmake.org/"
11 WGET_URL="http://www.cmake.org/files/v2.8/$TARBALL"
13 DEPENDS="openssl libidn gcc-lib-base"
14 BUILD_DEPENDS="ncurses-dev gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./bootstrap \
21 --prefix=/usr \
22 --docdir=/share/doc/$PACKAGE \
23 --mandir=/share/man &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 rm -rf $fs/usr/share/man
33 }