wok-current view cmake/receipt @ rev 15819
traceroute: Moved traceroute to /usr/bin folder. Fixed WEB_SITE.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 24 06:41:39 2014 +0000 (2014-01-24) |
parents | 8bb42e2bb5e4 |
children | 277131750c7d |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmake"
4 VERSION="2.8.5"
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/v2.8/$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 }
35 pre_install()
36 {
37 rm -rf $1/usr/share/cmake-2.4
38 }