wok-next view cmake/receipt @ rev 19609

libcroco, glib: `mkdir -p /usr/share/gtk-doc/html` before `make install`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 03 14:37:14 2017 +0200 (2017-02-03)
parents d3eb5f4b53ea
children 2f3aba6cc31e
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="3.6.1"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform build system generator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://cmake.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
14 DEPENDS="expat libarchive libcurl ncurses-libform zlib"
15 BUILD_DEPENDS="zlib-dev curl-dev bzip2-dev liblzma-dev libarchive-dev \
16 expat-dev ncurses-dev gfortran"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./bootstrap \
22 --prefix=/usr \
23 --system-libs \
24 --mandir=/share/man \
25 --no-system-jsoncpp \
26 --docdir=/share/doc/$PACKAGE-$VERSION &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders bin aclocal cmake-${VERSION%.*}
35 }