diff options
Diffstat (limited to 'dev-util/cmake')
-rw-r--r-- | dev-util/cmake/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/cmake/Manifest | 14 | ||||
-rw-r--r-- | dev-util/cmake/cmake-2.4.8.ebuild | 105 |
3 files changed, 124 insertions, 2 deletions
diff --git a/dev-util/cmake/ChangeLog b/dev-util/cmake/ChangeLog index 6bd144f87087..8fe8d45d2eb9 100644 --- a/dev-util/cmake/ChangeLog +++ b/dev-util/cmake/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/cmake # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.68 2008/01/14 07:33:55 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.69 2008/02/09 21:13:58 zlin Exp $ + +*cmake-2.4.8 (09 Feb 2008) + + 09 Feb 2008; Bo Ørsted Andresen <zlin@gentoo.org> +cmake-2.4.8.ebuild: + Version bump (bug #208618). *cmake-2.4.8_rc12 (14 Jan 2008) diff --git a/dev-util/cmake/Manifest b/dev-util/cmake/Manifest index 06de0ca33c5f..20f8f77ca8e4 100644 --- a/dev-util/cmake/Manifest +++ b/dev-util/cmake/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 50cmake-gentoo.el 244 RMD160 effb4416a5170ed7c99ea74084f2598e2482fdf0 SHA1 c34102f3343980275169144b40af6ec69a87d7fc SHA256 6010e6df84aa23050fcbc490ae2b22802ede0870ff2e96c43fe541e97e0d6c00 AUX FindSWIG.cmake 2263 RMD160 c56589a1b2401b3b55a5d3f5336d8ad7d797b4c6 SHA1 c3687448a47ba49d9d03fea5ed0ba93cb85b60ae SHA256 5be6bdbfaf93f7d69845544b697d120732341ed2d8af043cdd43f5a892d06de0 AUX cmake-2.0.6-rpath-fix.patch 526 RMD160 9039e42ce4def8ae7ce38946cb55b95b4502a1e9 SHA1 8e181634b1663a27139682309fb4180a0dbaa82d SHA256 18c58ecf9bdddce15764ab3481aba570e3378f8d8b1c5306a050b2c33323a1bc @@ -10,6 +13,7 @@ DIST cmake-2.4.5.tar.gz 2603795 RMD160 36b0896553f8af0b7eb77c0b23fa8e716237d7c0 DIST cmake-2.4.6.tar.gz 2604547 RMD160 61af13faecd10e85a0fee3252630b30b8781987a SHA1 5290aaf949413ee7f77275ba68e73cec1546364b SHA256 afb82bcf732d317f254b51ffdcd95e0a3b3c101c02f3751b12ce25fe46c0c304 DIST cmake-2.4.7.tar.gz 2600960 RMD160 7fed176c42f39c25e1d4c761436aa4d5a8a64e3a SHA1 72308fdd131d5a5ad1c617769c16a417ebec0004 SHA256 2fd5feb294b933ae3a0071b8c7a396797cf79dfe6b0ffeff8788e07ff4107d56 DIST cmake-2.4.8-RC-12.tar.gz 2607758 RMD160 760061564b47dffd63b222b52928fe0f622852e4 SHA1 aef633a3870881db26fc51298f0c6964b8224bf5 SHA256 425716211540e8d960a46955643ff5dff5cad93f2343a3d87f3383fc388f0bba +DIST cmake-2.4.8.tar.gz 2608800 RMD160 3f75f77a0eca4c1e1e4506b00c56ca441f78c853 SHA1 5d253b128274cc9517bce92fc25798d55baa253b SHA256 f20607d4f33376ea648307681630574662d0c3f59d88a7a02ad547b6320631f1 EBUILD cmake-2.0.6-r1.ebuild 999 RMD160 c5e486a3dc290a228ab6785da573ec833dafa4f8 SHA1 75f7b7696c5467d7a549a6d8040d62f92c4a9f65 SHA256 30039feb94f97311dd4f8af171b7e7ef8861dc1c88518be5aa0593d8ac0ec143 EBUILD cmake-2.4.3.ebuild 1010 RMD160 f4aabfe5a7b28d551dfda8c87416f0589b1855c5 SHA1 dd9ecda5f212c6607782a7a69b3b9e28f1712c70 SHA256 2a3ffeb214cb59c388a1049fc7e6ca07fef12ebeb705e74e5b299fcc8e3cd79e EBUILD cmake-2.4.4.ebuild 1025 RMD160 75555f46c7a3e33a9e89a451422b0c2b5243d82d SHA1 f27630eaca97a4309f88b0bd38f2c1947e0eff6d SHA256 e247e64692854ce92f1a2206f83e91ac841df46f907e8c4f42f63aa42abda043 @@ -19,6 +23,14 @@ EBUILD cmake-2.4.6.ebuild 1031 RMD160 e8cdb2eb27b8c2aa86583f4387de723447603763 S EBUILD cmake-2.4.7-r1.ebuild 2107 RMD160 a382d8e58f6bac1857faa10825079047133a20e7 SHA1 203af1117b391a6e1561c39f6e961881539a36df SHA256 67e610ddd89a8f395655d82503594ba83b17fe85f939fe78cbc86d16c15e49ec EBUILD cmake-2.4.7-r2.ebuild 2878 RMD160 eb0f92286649069df623f2f69d16248de6d01048 SHA1 4e32ce7d6a23713f323ce44747702395bf1db46c SHA256 362a98848d5dd95ade91121304ed0ef197e681aacf130ec0dbdf94fe6802c560 EBUILD cmake-2.4.7.ebuild 1957 RMD160 3558a2540c5e57f3b745a27cc72d1ac605676401 SHA1 998ccb0b5292e92df7da30cba89331dcb1bb2abe SHA256 60991b36ffd7c44f75f20e9dc2996b308ec98775de7dfff548b224a531fbe694 +EBUILD cmake-2.4.8.ebuild 2817 RMD160 7ad61e2a8e6ac1b3ae6a65e0ca272e9ea2b83aa2 SHA1 912d81cc39c07bb938ee4a107881668250f24912 SHA256 173d37bde9dfcc63b6d794243f9215bb279ded10a8311b40573f9bb6791ba13c EBUILD cmake-2.4.8_rc12.ebuild 2844 RMD160 4ba024437b73f2c6913f33ba9b86e7a8c472922b SHA1 01690f5ed59bb0580dd86478c26b19d006f1c842 SHA256 6e1c71889e4de2ae3a93dbe06fc79cb3726c343d32deea56ca740e7bb4e45331 -MISC ChangeLog 10404 RMD160 2937a9e8b3443c512b3d8133e2faca7e660d4787 SHA1 3bfb0418839bb2e045dced68291d63c41d1c39e7 SHA256 fac99fdda9dd2a589dd79a8198f6a7950c2f54c93500f796eb24e807f2f3392d +MISC ChangeLog 10535 RMD160 446c92c9b03ada9b8a061abbe6950359eed10db9 SHA1 97a1a24483ee6a59732dc906bfa209b4dcf916f3 SHA256 7406ba94f3e10570448e55358d81cf80d4588f43dca10cef00fd57786dbd52a0 MISC metadata.xml 157 RMD160 09fb7b798f3f68127626e97c69e5215a0513ecbb SHA1 d5ffebb2f4248fc8f65ab21c3af6e4f5dbf8bf6e SHA256 01f6fa4357ce08e8b0f7900a51fa78c7f060fefc7c7da98acaec1e283dd59892 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHrheMfxJ68Jl1NeERAhaDAJ0aiaYOD8QveY7YfZb3j2bhKVxCLQCgrra+ +HOsztFMdtDaRWp9MNliFrHU= +=l+2V +-----END PGP SIGNATURE----- diff --git a/dev-util/cmake/cmake-2.4.8.ebuild b/dev-util/cmake/cmake-2.4.8.ebuild new file mode 100644 index 000000000000..b6334a036a0f --- /dev/null +++ b/dev-util/cmake/cmake-2.4.8.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.4.8.ebuild,v 1.1 2008/02/09 21:13:58 zlin Exp $ + +inherit elisp-common toolchain-funcs eutils versionator qt3 flag-o-matic + +MY_PV="${PV/rc/RC-}" +MY_P="${PN}-$(replace_version_separator 3 - ${MY_PV})" + +DESCRIPTION="Cross platform Make" +HOMEPAGE="http://www.cmake.org/" +SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz" + +LICENSE="CMake" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="emacs vim-syntax" + +DEPEND=">=net-misc/curl-7.16.4 + >=dev-libs/expat-2.0.1 + >=dev-libs/libxml2-2.6.28 + >=dev-libs/xmlrpc-c-1.06.09 + emacs? ( virtual/emacs ) + vim-syntax? ( || ( + app-editors/vim + app-editors/gvim ) )" +RDEPEND="${DEPEND}" + +SITEFILE="50${PN}-gentoo.el" +VIMFILE="${PN}.vim" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if ! built_with_use -o dev-libs/xmlrpc-c curl libwww; then + echo + eerror "${PN} requires dev-libs/xmlrpc-c to be built with either the 'libwww' or" + eerror "the 'curl' USE flag or both enabled." + eerror "Please re-emerge dev-libs/xmlrpc-c with USE=\"libwww\" or USE=\"curl\"." + echo + die "Please re-emerge dev-libs/xmlrpc-c with USE=\"libwww\" or USE=\"curl\"." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Upstream's version is broken. Reported in upstream bugs 3498, 3637, 4145. + # Fixed version kindly provided on 4145 by Axel Roebel. + cp "${FILESDIR}/FindSWIG.cmake" "${S}/Modules/" +} + +src_compile() { + if [[ "$(gcc-major-version)" -eq "3" ]] ; then + append-flags "-fno-stack-protector" + fi + + tc-export CC CXX LD + + append-ldflags -Wl,--no-as-needed + + ./bootstrap \ + --system-libs \ + --prefix=/usr \ + --docdir=/share/doc/${PN} \ + --datadir=/share/${PN} \ + --mandir=/share/man || die "./bootstrap failed" + emake || die "emake failed." + if use emacs; then + elisp-compile Docs/cmake-mode.el || die "elisp compile failed" + fi +} + +src_test() { + emake test || \ + einfo "note test failure on qtwrapping was expected - nature of portage rather than a true failure" +} + +src_install() { + emake 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 +} |