wok view cmake/receipt @ rev 24178
created recipe for perl-file-sharedir-install
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 06:33:57 2021 +0100 (2021-12-31) |
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 }