blob: 23a07f308ae6562b4979eabdfeb32b31b9558d60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-1.8.2.ebuild,v 1.3 2004/05/12 18:45:06 vapier Exp $
inherit debug flag-o-matic
SHORT_PV=1.8
DESCRIPTION="Cross platform Make"
HOMEPAGE="http://www.cmake.org/"
SRC_URI="http://www.cmake.org/files/v${SHORT_PV}/${P}.tar.gz"
LICENSE="CMake"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc ~alpha"
IUSE=""
DEPEND="sys-libs/glibc"
src_compile() {
strip-flags
./bootstrap \
--prefix=/usr \
--docdir=/share/doc/${PN} \
--datadir=/share/${PN} \
--mandir=/share/man || die "./bootstrap failed"
emake || die
}
src_install() {
make install DESTDIR=${D} || die "install failed"
}
|