wok view cmake/receipt @ rev 24093
Up squashfs (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 16:57:54 2021 +0000 (2021-07-27) |
parents | 271168d720b4 |
children | 352993bf2f20 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="3.15.5"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.cmake.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
14 DEPENDS="gcc83-lib-base libidn openssl"
15 BUILD_DEPENDS="gcc83 gcc83-lib-base ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CXX=g++-83
22 ./bootstrap \
23 --prefix=/usr \
24 --docdir=/share/doc/$PACKAGE \
25 --mandir=/share/man &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 rm -rf $fs/usr/share/man
35 }