wok-next view cmake/receipt @ rev 18925

description.txt should end with 0x0A byte (Carriage Return, Enter) to not glue with the next description in descriptions.txt.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 25 15:02:38 2016 +0200 (2016-02-25)
parents 13a965019b9c
children 35a20e111081
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 }