wok-current view cmake/receipt @ rev 18144

Up: slitaz-base-files (275)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 18 02:57:32 2015 +0300 (2015-06-18)
parents 13a965019b9c
children 271168d720b4
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="3.1.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/v${VERSION%.*}/$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 ./bootstrap \
20 --prefix=/usr \
21 --docdir=/share/doc/$PACKAGE \
22 --mandir=/share/man &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 rm -rf $fs/usr/share/man
32 }