wok view cmake/receipt @ rev 24175

Up usbids (20211224)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 30 11:41:25 2021 +0000 (2021-12-30)
parents 0f288bee7e75
children 2a0479881723
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="3.22.0"
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 openssl-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 }