diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-04-04 11:09:26 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-04-04 11:09:26 +0000 |
commit | ac40969f1864541c5d9df745659bddbf8bd8c535 (patch) | |
tree | b21e4f390389a15d507d61056e10f9252e784ff0 | |
parent | Fixed tutorial->tutorials, closing bug #216130 (diff) | |
download | historical-ac40969f1864541c5d9df745659bddbf8bd8c535.tar.gz historical-ac40969f1864541c5d9df745659bddbf8bd8c535.tar.bz2 historical-ac40969f1864541c5d9df745659bddbf8bd8c535.zip |
Version bump and fixed bug ##216108 for bad install of demo directory.
Package-Manager: portage-2.1.4.4
-rw-r--r-- | dev-util/cmt/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/cmt/Manifest | 12 | ||||
-rw-r--r-- | dev-util/cmt/cmt-1.20.20070720.ebuild | 28 | ||||
-rw-r--r-- | dev-util/cmt/cmt-1.20.20080222.ebuild | 86 |
4 files changed, 115 insertions, 19 deletions
diff --git a/dev-util/cmt/ChangeLog b/dev-util/cmt/ChangeLog index 12cb783db65d..0bca25adac03 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.2 2008/02/13 07:28:13 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.3 2008/04/04 11:09:26 bicatali Exp $ + +*cmt-1.20.20080222 (04 Apr 2008) + + 04 Apr 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> + cmt-1.20.20070720.ebuild, +cmt-1.20.20080222.ebuild: + Version bump and fixed bug ##216108 for bad install of demo directory. 13 Feb 2008; Christian Faulhammer <opfer@gentoo.org> metadata.xml: add no-herd diff --git a/dev-util/cmt/Manifest b/dev-util/cmt/Manifest index 6c638e0f5112..fcc9997ad434 100644 --- a/dev-util/cmt/Manifest +++ b/dev-util/cmt/Manifest @@ -3,13 +3,15 @@ Hash: SHA1 AUX 80cmt-mode-gentoo.el 205 RMD160 1cd8921efc32dee6505c9d325c85ea717d2ec55a SHA1 eac397e0ddfa9fa92b184b70deff1e8c4242d366 SHA256 f2f2614ae2cb957a7a02b52d8a26ace52bcff6a3cb6dcd62d20e1ff4dc93afca DIST CMTv1r20p20070720.tar.gz 2062465 RMD160 100fba545c237dd916b346581a4f311e2e34282f SHA1 6c92df284836f7ae3a3df565b917316dba2d3543 SHA256 3fdd0a64425a0ab1fe18face8a30a55384e44564f63f989a7e0ed8fb20061bbe -EBUILD cmt-1.20.20070720.ebuild 2036 RMD160 0f32a54f93fec7d267199474421996132188ba27 SHA1 986f32ef8b6007271b84ebd45c43603bb4a8c075 SHA256 0abe578c463af1e3e3d0df1c85ec34168c68067a24cfb2191e32f46265c4bf23 -MISC ChangeLog 502 RMD160 fb45fd3f141f8c8c0bce7ef5daa281a0609c1c7b SHA1 a8197bbe486ee912d834a33bf6b7fc73b785ac10 SHA256 18d09173913b41ce4565dc724f570ff92e957ed9e4f999797332017e4c1f1c6e +DIST CMTv1r20p20080222.tar.gz 2069966 RMD160 8cb5132a1d776dd6554ed4f8ec226bc01e2bdde4 SHA1 6a655c1723c9817f0ec6416f402a77bca0c32e27 SHA256 d20d0731fdd669dabd00861f33e680fbf1af4efce3b8a07b4ee22c2788c87f55 +EBUILD cmt-1.20.20070720.ebuild 2103 RMD160 f69ed06cbb2b27e51a6cbe0318cbc656211aaf4f SHA1 09da2f902f87318118d2d1cc624b8b77d38b90a0 SHA256 d240e3acf5909c94168b54a7eb7a016a5cddf07f75bc83694f47bbb805dd0fbd +EBUILD cmt-1.20.20080222.ebuild 2103 RMD160 d6e0c0ba877e403fc4d726ba19c86edd14e40e72 SHA1 02898bc623a8a44c8369d1399ac02e7d743deac1 SHA256 fb2927a632d0c7f540204f1ab6e16895ae0b0ef37ac7c59aa430bdf8f10810ba +MISC ChangeLog 723 RMD160 eab2b59e4b2863c5cba316671d668b5c0c4f43ab SHA1 552a7b91cd47532aca3375d4acee753cca159cbe SHA256 294a29a45afb4742d558ce1077d97a73d9af059aa9af5006f1727514c2570344 MISC metadata.xml 637 RMD160 b44854c6db30c4e83e6b1933d3fec12d896f8025 SHA1 cd4a9649791d1423da16ede29cd827c01b352093 SHA256 2d4b3a2685171a793ffb617e358b4c9b8834a12ccec86881078dc96937ae0a24 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHspxnNQqtfCuFneMRAhIpAJ9kH6JpXZaLYj+uc4N1E9bwouF3jgCfVZXy -3JM3iTJiR/wT/JctUF33c0g= -=1+pG +iD8DBQFH9gx21ycZbhPLE2ARAukRAJ9sDVYsdDfZBmKAi+1uhjHO0Ji2RQCfSOs+ +PSv5VxmPJm5zIN9ERXBXfos= +=r6qZ -----END PGP SIGNATURE----- diff --git a/dev-util/cmt/cmt-1.20.20070720.ebuild b/dev-util/cmt/cmt-1.20.20070720.ebuild index e731324a47ec..d3c9f51181ba 100644 --- a/dev-util/cmt/cmt-1.20.20070720.ebuild +++ b/dev-util/cmt/cmt-1.20.20070720.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.20.20070720.ebuild,v 1.1 2007/09/15 13:14:47 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.20.20070720.ebuild,v 1.2 2008/04/04 11:09:26 bicatali Exp $ inherit elisp-common toolchain-funcs versionator @@ -20,11 +20,10 @@ DEPEND="" RDEPEND="emacs? ( virtual/emacs ) java? ( virtual/jdk )" -RESTRICT="test" -S=${WORKDIR}/CMT/${CMT_PV} +S="${WORKDIR}/CMT/${CMT_PV}" src_compile() { - cd mgr + cd "${S}"/mgr ./INSTALL source setup.sh emake -j1 \ @@ -45,28 +44,31 @@ src_install() { dodir /usr/bin dosym ${CMTDIR}/${CMTBIN}/cmt.exe /usr/bin/cmt - echo "CMTROOT=\"${CMTDIR}\"" > 99cmt - echo "CMTBIN=\"$(uname)-$(uname -m | sed -e 's# ##g')\"" >> 99cmt - echo "CMTCONFIG=\"$(${CMTROOT}/mgr/cmt_system.sh)\"" >> 99cmt - + 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 + doexe jcmt || die "doexe failed" echo "CLASSPATH=\"${CMTDIR}/java/cmt.jar\"" >> 99cmt fi - doenvd 99cmt + 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 - make gendoc || die "make gendoc failed" + emake gendoc || die "emake gendoc failed" + insinto /usr/share/doc/${PF} cd "${S}"/doc - dohtml -r CMTDoc.html Images CMTFAQ.html || die "dohtml failed" + doins -r {CMTDoc,CMTFAQ}.{html,pdf} Images || die "doc install failed" + cd "${S}" doins -r demo || die "doins demo failed" fi diff --git a/dev-util/cmt/cmt-1.20.20080222.ebuild b/dev-util/cmt/cmt-1.20.20080222.ebuild new file mode 100644 index 000000000000..ce331567694d --- /dev/null +++ b/dev-util/cmt/cmt-1.20.20080222.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.20.20080222.ebuild,v 1.1 2008/04/04 11:09:26 bicatali Exp $ + +inherit 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="" +RDEPEND="emacs? ( virtual/emacs ) + java? ( virtual/jdk )" + +S="${WORKDIR}/CMT/${CMT_PV}" + +src_compile() { + cd "${S}"/mgr + ./INSTALL + source setup.sh + emake -j1 \ + cpp="$(tc-getCXX)" \ + cppflags="${CXXFLAGS}" \ + || die "make failed" + + sed -i -e "s:${WORKDIR}:/usr/$(get_libdir):g" setup.*sh + cd "${S}" + mv src/demo . + rm -f ${CMTBIN}/*.o +} + +src_install() { + CMTDIR=/usr/$(get_libdir)/CMT/${CMT_PV} + dodir ${CMTDIR} + cp -pPR mgr src ${CMTBIN} "${D}"/${CMTDIR} + 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 + + use emacs && \ + elisp-site-file-install \ + doc/cmt-mode.el "${FILESDIR}"/80cmt-mode-gentoo.el +} + +pkg_postinst () { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |