diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2007-07-18 22:03:05 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2007-07-18 22:03:05 +0000 |
commit | 11aa1caba220bc02eee397daccbc01d652c3f831 (patch) | |
tree | e901d934c25003d8ae790126f4364903f54ef35d /dev-util/cmake | |
parent | Remove unneeded files; last commit should have had revision bump. (diff) | |
download | gentoo-2-11aa1caba220bc02eee397daccbc01d652c3f831.tar.gz gentoo-2-11aa1caba220bc02eee397daccbc01d652c3f831.tar.bz2 gentoo-2-11aa1caba220bc02eee397daccbc01d652c3f831.zip |
Version bump.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'dev-util/cmake')
-rw-r--r-- | dev-util/cmake/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/cmake/cmake-2.4.7.ebuild | 70 | ||||
-rw-r--r-- | dev-util/cmake/files/digest-cmake-2.4.7 | 3 |
3 files changed, 79 insertions, 1 deletions
diff --git a/dev-util/cmake/ChangeLog b/dev-util/cmake/ChangeLog index 1ea6c173ac1c..8ed8e0493d05 100644 --- a/dev-util/cmake/ChangeLog +++ b/dev-util/cmake/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/cmake # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.60 2007/06/26 18:10:09 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.61 2007/07/18 22:03:05 cryos Exp $ + +*cmake-2.4.7 (18 Jul 2007) + + 18 Jul 2007; Marcus D. Hanwell <cryos@gentoo.org> +cmake-2.4.7.ebuild: + Version bump. 26 Jun 2007; Lars Weiler <pylon@gentoo.org> cmake-2.4.6-r1.ebuild: Stable on ppc; bug #182724. diff --git a/dev-util/cmake/cmake-2.4.7.ebuild b/dev-util/cmake/cmake-2.4.7.ebuild new file mode 100644 index 000000000000..a418ea6ab0c1 --- /dev/null +++ b/dev-util/cmake/cmake-2.4.7.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.4.7.ebuild,v 1.1 2007/07/18 22:03:05 cryos Exp $ + +inherit elisp-common toolchain-funcs eutils versionator qt3 + +DESCRIPTION="Cross platform Make" +HOMEPAGE="http://www.cmake.org/" +SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${P}.tar.gz" + +LICENSE="CMake" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="emacs vim-syntax" + +DEPEND="emacs? ( virtual/emacs ) + vim-syntax? ( || ( + app-editors/vim + app-editors/gvim ) )" +RDEPEND="${DEPEND}" + +SITEFILE="50${PN}-gentoo.el" +VIMFILE="${PN}.vim" + +src_compile() { + cd ${S} + tc-export CC CXX LD + ./bootstrap \ + --prefix=/usr \ + --docdir=/share/doc/${PN} \ + --datadir=/share/${PN} \ + --mandir=/share/man || die "./bootstrap failed" + emake || die + if use emacs; then + elisp-compile Docs/cmake-mode.el || die "elisp compile failed" + fi +} + +src_test() { + einfo "Self tests broken" + make test || \ + einfo "note test failure on qtwrapping was expected - nature of portage rather than a true failure" +} + +src_install() { + make install DESTDIR=${D} || die "install failed" + mv ${D}usr/share/doc/cmake ${D}usr/share/doc/${PF} + if use emacs; then + elisp-install ${PN} Docs/cmake-mode.el Docs/cmake-mode.elc || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/Docs/cmake-syntax.vim + + insinto /usr/share/vim/vimfiles/indent + doins "${S}"/Docs/cmake-indent.vim + + insinto /usr/share/vim/vimfiles/ftdetect + doins "${FILESDIR}/${VIMFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-util/cmake/files/digest-cmake-2.4.7 b/dev-util/cmake/files/digest-cmake-2.4.7 new file mode 100644 index 000000000000..159cbb370c75 --- /dev/null +++ b/dev-util/cmake/files/digest-cmake-2.4.7 @@ -0,0 +1,3 @@ +MD5 4476c423b8f74266136964e42ea88028 cmake-2.4.7.tar.gz 2600960 +RMD160 7fed176c42f39c25e1d4c761436aa4d5a8a64e3a cmake-2.4.7.tar.gz 2600960 +SHA256 2fd5feb294b933ae3a0071b8c7a396797cf79dfe6b0ffeff8788e07ff4107d56 cmake-2.4.7.tar.gz 2600960 |