wok annotate cmake/receipt @ rev 23761

Up linux-cloop (4.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 04 09:05:12 2020 +0000 (2020-05-04)
parents 271168d720b4
children 352993bf2f20
rev   line source
pankso@14 1 # SliTaz package receipt.
pankso@14 2
pankso@14 3 PACKAGE="cmake"
Hans-G?nter@22125 4 VERSION="3.15.5"
pankso@200 5 CATEGORY="development"
pankso@14 6 SHORT_DESC="Cross-platform Make."
pankso@14 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="BSD"
Hans-G?nter@22125 9 WEB_SITE="https://www.cmake.org/"
Hans-G?nter@22125 10
pankso@14 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22125 12 WGET_URL="https://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
pankso@14 13
Hans-G?nter@22125 14 DEPENDS="gcc83-lib-base libidn openssl"
Hans-G?nter@22125 15 BUILD_DEPENDS="gcc83 gcc83-lib-base ncurses-dev"
pascal@15579 16
pankso@14 17 # Rules to configure and make the package.
pankso@14 18 compile_rules()
pankso@14 19 {
Hans-G?nter@22125 20 export CXX=g++-83
Hans-G?nter@22125 21
Hans-G?nter@22125 22 ./bootstrap \
Hans-G?nter@22125 23 --prefix=/usr \
Hans-G?nter@22125 24 --docdir=/share/doc/$PACKAGE \
slaxemulator@8674 25 --mandir=/share/man &&
pascal@1511 26 make &&
slaxemulator@8674 27 make DESTDIR=$DESTDIR install
pankso@14 28 }
pankso@14 29
pankso@14 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@14 31 genpkg_rules()
pankso@14 32 {
pascal@15579 33 cp -a $install/usr $fs
pankso@14 34 rm -rf $fs/usr/share/man
pankso@14 35 }