wok-current annotate cmake/receipt @ rev 22330

updated zile (2.3.24 -> 2.4.14)
author Hans-G?nter Theisgen
date Fri Nov 15 11:30:01 2019 +0100 (2019-11-15)
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 }