summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-04-21 16:39:01 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-04-21 16:39:01 +0000
commit28299888e7b53797b3b597c6c84360fbbe6dc09e (patch)
tree4a7e40475ae113f33f99d9eaf95692cf41c63501 /dev-util
parentVersion bump (diff)
downloadhistorical-28299888e7b53797b3b597c6c84360fbbe6dc09e.tar.gz
historical-28299888e7b53797b3b597c6c84360fbbe6dc09e.tar.bz2
historical-28299888e7b53797b3b597c6c84360fbbe6dc09e.zip
Bump
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cmt/ChangeLog10
-rw-r--r--dev-util/cmt/Manifest12
-rw-r--r--dev-util/cmt/cmt-1.20.20081118.ebuild96
3 files changed, 111 insertions, 7 deletions
diff --git a/dev-util/cmt/ChangeLog b/dev-util/cmt/ChangeLog
index f3b8257a4d62..b00b044bd26f 100644
--- a/dev-util/cmt/ChangeLog
+++ b/dev-util/cmt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/cmt
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.5 2008/10/13 22:09:40 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.6 2009/04/21 16:39:01 bicatali Exp $
+
+*cmt-1.20.20081118 (21 Apr 2009)
+
+ 21 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +cmt-1.20.20081118.ebuild:
+ Bump
13 Oct 2008; Sébastien Fabbro <bicatali@gentoo.org>
files/80cmt-mode-gentoo.el, cmt-1.20.20080222.ebuild:
diff --git a/dev-util/cmt/Manifest b/dev-util/cmt/Manifest
index a600da30a790..2db4a32af676 100644
--- a/dev-util/cmt/Manifest
+++ b/dev-util/cmt/Manifest
@@ -3,13 +3,15 @@ Hash: SHA1
AUX 80cmt-mode-gentoo.el 207 RMD160 f2bc0327ce783dbb1c909883b43a9a94566e2f77 SHA1 3e686aa29aecf4f7daaeec7b1b9ebf11fac00dbc SHA256 56524651c55dfdeb4693aeb9a6b05ccad14b87468196d807dac9527a420b5dc3
DIST CMTv1r20p20080222.tar.gz 2069966 RMD160 8cb5132a1d776dd6554ed4f8ec226bc01e2bdde4 SHA1 6a655c1723c9817f0ec6416f402a77bca0c32e27 SHA256 d20d0731fdd669dabd00861f33e680fbf1af4efce3b8a07b4ee22c2788c87f55
+DIST CMTv1r20p20081118.tar.gz 2084878 RMD160 472b6f75b2560d4ccfa840464aef7f1e754eda49 SHA1 e7d2c30ebdd070e9fd188be821ac38c92027cdf7 SHA256 4a6e92d96257aa0a1935aff12977765fbd18628da5519c26b36da88339be92b4
EBUILD cmt-1.20.20080222.ebuild 2222 RMD160 387bcc2d7703e18cf8b7ce4ceb9368f64deb9bf9 SHA1 66ccbabe28d41b45b087a04518c47e67e1d7d738 SHA256 0495fc278122b12a5618bf473fc58bcd665d196a23b58009b2fb76a363262fc8
-MISC ChangeLog 1035 RMD160 a6ff2221e0ca9883ab8b13e5888c6d2c2ea0dcb4 SHA1 b1e167fec62136f199eeded8d2c7e18a4be3a20c SHA256 b75c4d87e12f9c70fc4c667912e785a119d0cb503cb4497c9ebed29bf566c693
+EBUILD cmt-1.20.20081118.ebuild 2287 RMD160 8dbbba744a046544f8d9098c738e6c8cbe66200c SHA1 07b498df25abc7ae7f6d3d358e63d9551868560e SHA256 f9acdcd14616ad9c77ed1b118fcd62ae449f930164dda94687012f268bc92e52
+MISC ChangeLog 1161 RMD160 ba0ab3aeed8a43b66fe3c093e4c156a7cc85c5c3 SHA1 c062ad513b72570b2b7d0a750508b6c3b2e64baa SHA256 54ddfbb2e0f70a1802c475fab0ab51a3d5db2eee94f67509d68abe494dbec485
MISC metadata.xml 637 RMD160 b44854c6db30c4e83e6b1933d3fec12d896f8025 SHA1 cd4a9649791d1423da16ede29cd827c01b352093 SHA256 2d4b3a2685171a793ffb617e358b4c9b8834a12ccec86881078dc96937ae0a24
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkjzxywACgkQ1ycZbhPLE2DQdgCfRPiQKtWfCBnfz4nCrGBfWZ64
-/dEAniitdmQvfXFu7PrMKs6zJINRRUJ+
-=nVsr
+iEYEARECAAYFAknt9q8ACgkQ1ycZbhPLE2Bk4QCZAVBuHseJNl6fZyOaAHbsEQva
+VkkAn3Ss2xRDWh0BsGe/Utd44glJySry
+=NcIa
-----END PGP SIGNATURE-----
diff --git a/dev-util/cmt/cmt-1.20.20081118.ebuild b/dev-util/cmt/cmt-1.20.20081118.ebuild
new file mode 100644
index 000000000000..8214ec380afa
--- /dev/null
+++ b/dev-util/cmt/cmt-1.20.20081118.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.20.20081118.ebuild,v 1.1 2009/04/21 16:39:01 bicatali Exp $
+
+EAPI=2
+inherit eutils elisp-common toolchain-funcs versionator
+
+CPV=($(get_version_components ${PV}))
+CMT_PV=v${CPV[0]}r${CPV[1]}p${CPV[2]}
+
+DESCRIPTION="Cross platform configuration management environment"
+HOMEPAGE="http://www.cmtsite.org/"
+SRC_URI="http://www.cmtsite.org/${CMT_PV}/CMT${CMT_PV}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs java doc"
+
+DEPEND="emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}
+ java? ( virtual/jdk )"
+
+S="${WORKDIR}/CMT/${CMT_PV}"
+
+src_configure() {
+ cd "${S}"/mgr
+ ./INSTALL
+ source setup.sh
+}
+
+src_compile() {
+ cd "${S}"/mgr
+ emake -j1 \
+ cpp="$(tc-getCXX)" \
+ cppflags="${CXXFLAGS}" \
+ || die "emake failed"
+
+ sed -i -e "s:${WORKDIR}:/usr/$(get_libdir):g" setup.*sh || die
+ cd "${S}"
+ mv src/demo .
+ rm -f ${CMTBIN}/*.o
+
+ if use emacs; then
+ elisp-compile doc/cmt-mode.el || die
+ fi
+}
+
+src_install() {
+ CMTDIR=/usr/$(get_libdir)/CMT/${CMT_PV}
+ dodir ${CMTDIR}
+ cp -pPR mgr src ${CMTBIN} "${D}"/${CMTDIR} || die
+ dodir /usr/bin
+ dosym ${CMTDIR}/${CMTBIN}/cmt.exe /usr/bin/cmt
+
+ cat > 99cmt <<-EOF
+ CMTROOT="${CMTDIR}"
+ CMTBIN="$(uname)-$(uname -m | sed -e 's# ##g')"
+ CMTCONFIG="$(${CMTROOT}/mgr/cmt_system.sh)"
+ EOF
+ if use java; then
+ cp -pPR java "${D}"/${CMTDIR}
+ echo "#!/bin/sh" > jcmt
+ echo "java cmt_parser" >> jcmt
+ exeinto /usr/bin
+ doexe jcmt || die "doexe failed"
+ echo "CLASSPATH=\"${CMTDIR}/java/cmt.jar\"" >> 99cmt
+ fi
+
+ doenvd 99cmt || die "doenvd failed"
+ dodoc ChangeLog doc/*.txt || die "dodoc failed"
+ dohtml doc/{ChangeLog,ReleaseNotes}.html || die "dohtml failed"
+
+ if use doc; then
+ cd "${S}"/mgr
+ emake gendoc || die "emake gendoc failed"
+ insinto /usr/share/doc/${PF}
+ cd "${S}"/doc
+ doins -r {CMTDoc,CMTFAQ}.{html,pdf} Images || die "doc install failed"
+ cd "${S}"
+ doins -r demo || die "doins demo failed"
+ fi
+
+ if use emacs; then
+ elisp-install ${PN} doc/cmt-mode.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}"/80cmt-mode-gentoo.el || die
+ fi
+}
+
+pkg_postinst () {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}