wok-current annotate cmake/receipt @ rev 20936

updated fpm2 again (0.76.1 -> 0.79)
author Hans-G?nter Theisgen
date Sat Mar 02 16:28:51 2019 +0100 (2019-03-02)
parents d3eb5f4b53ea
children 0f288bee7e75
rev   line source
pankso@14 1 # SliTaz package receipt.
pankso@14 2
pankso@14 3 PACKAGE="cmake"
devl547@19596 4 VERSION="3.7.1"
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"
pankso@14 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@14 10 WEB_SITE="http://www.cmake.org/"
pascal@17869 11 WGET_URL="http://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
pankso@14 12
pascal@15579 13 DEPENDS="openssl libidn gcc-lib-base"
pascal@15579 14 BUILD_DEPENDS="ncurses-dev gcc-lib-base"
pascal@15579 15
pankso@14 16 # Rules to configure and make the package.
pankso@14 17 compile_rules()
pankso@14 18 {
pankso@56 19 ./bootstrap \
pankso@56 20 --prefix=/usr \
pankso@56 21 --docdir=/share/doc/$PACKAGE \
slaxemulator@8674 22 --mandir=/share/man &&
pascal@1511 23 make &&
slaxemulator@8674 24 make DESTDIR=$DESTDIR install
pankso@14 25 }
pankso@14 26
pankso@14 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@14 28 genpkg_rules()
pankso@14 29 {
pascal@15579 30 cp -a $install/usr $fs
pankso@14 31 rm -rf $fs/usr/share/man
pankso@14 32 }