wok-next view cmake/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | 35a20e111081 |
children | d78f328fc5cb |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmake"
4 VERSION="3.7.2"
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 BUILD_DEPENDS="zlib-dev curl-dev bzip2-dev xz-dev libarchive-dev \
15 expat-dev ncurses-dev gfortran"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i '/CMAKE_USE_LIBUV 1/s/1/0/' CMakeLists.txt &&
21 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake &&
23 ./bootstrap \
24 --prefix=/usr \
25 --system-libs \
26 --mandir=/share/man \
27 --no-system-jsoncpp \
28 --docdir=/share/doc/$PACKAGE-$VERSION &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 copy @std @dev
37 DEPENDS="expat libarchive libcurl ncurses-libform zlib"
38 }