wok view cmake/receipt @ rev 18635

mediainfo: add build depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 10:38:59 2015 +0200 (2015-11-27)
parents 13a965019b9c
children 271168d720b4
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/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 }