wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="3.7.1"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform Make."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cmake.org/"
11 WGET_URL="http://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
13 DEPENDS="openssl libidn gcc-lib-base"
14 BUILD_DEPENDS="ncurses-dev gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./bootstrap \
20 --prefix=/usr \
21 --docdir=/share/doc/$PACKAGE \
22 --mandir=/share/man &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 rm -rf $fs/usr/share/man
32 }