wok view cmake/receipt @ rev 17843

cups-filters: add pkg files bdeps
author Richard Dunbar <mojo@slitaz.org>
date Mon Mar 23 23:26:13 2015 -0400 (2015-03-23)
parents e061070ab846
children d3eb5f4b53ea
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="3.1.2"
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/v3.1/$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 cd $src
20 ./bootstrap \
21 --prefix=/usr \
22 --docdir=/share/doc/$PACKAGE \
23 --mandir=/share/man &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 rm -rf $fs/usr/share/man
33 }