summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-20 17:55:00 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-20 17:55:00 +0000
commite4242ef11c1c77413a89441c12781b7cf6a64c5a (patch)
tree4ce628fd0cd6b6845f30723a04dddfbf39e7c5ea /dev-cpp
parentInitial impoort. Ebuild initially submitted by Nils Andresen, bug #401325 (diff)
downloadhistorical-e4242ef11c1c77413a89441c12781b7cf6a64c5a.tar.gz
historical-e4242ef11c1c77413a89441c12781b7cf6a64c5a.tar.bz2
historical-e4242ef11c1c77413a89441c12781b7cf6a64c5a.zip
Version bump.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/ctemplate/ChangeLog7
-rw-r--r--dev-cpp/ctemplate/Manifest24
-rw-r--r--dev-cpp/ctemplate/ctemplate-2.2.ebuild76
3 files changed, 100 insertions, 7 deletions
diff --git a/dev-cpp/ctemplate/ChangeLog b/dev-cpp/ctemplate/ChangeLog
index 9aece1e2a823..f89a14bb94d6 100644
--- a/dev-cpp/ctemplate/ChangeLog
+++ b/dev-cpp/ctemplate/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-cpp/ctemplate
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.21 2012/03/07 19:07:34 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.22 2012/04/20 17:55:00 vapier Exp $
+
+*ctemplate-2.2 (20 Apr 2012)
+
+ 20 Apr 2012; Mike Frysinger <vapier@gentoo.org> +ctemplate-2.2.ebuild:
+ Version bump.
07 Mar 2012; Brent Baude <ranger@gentoo.org> ctemplate-2.0.ebuild:
Marking ctemplate-2.0 ppc for bug 394729
diff --git a/dev-cpp/ctemplate/Manifest b/dev-cpp/ctemplate/Manifest
index 22022fc89443..152de6792816 100644
--- a/dev-cpp/ctemplate/Manifest
+++ b/dev-cpp/ctemplate/Manifest
@@ -1,17 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
AUX 70ctemplate-gentoo.el 282 RMD160 3719bdae10ccdaaadf403b21031930f8f107d8fc SHA1 638e8e8d1614873fe6a85ab23d94875ac1b8019b SHA256 5b0f78a1bfc6171856ba0822612cff0a0451ee9c7969ab4ae935f15eed715de7
DIST ctemplate-1.0.tar.gz 837995 RMD160 ca1fdc571a869280d0395f919191a0773505c9d0 SHA1 313e3ee7f9e28adb537c08212eb509bdb848de56 SHA256 731279f1717527cf85ff79ed19b8674f91c3768d8bc20b09440e8dd1ca1b5bf8
DIST ctemplate-2.0.tar.gz 874846 RMD160 f2138b9996951d786c3cb97db81f46b087baade7 SHA1 c577432a9bdc7169ae420e50998d955f5cf85a0c SHA256 ca2dfe9474b1fb1a20f92d934a6b47cbaf170a08b201335594c93b7417c68d69
+DIST ctemplate-2.2.tar.gz 889458 RMD160 fb5cf475f47b9bd651d05418f5dc01c039b50070 SHA1 b00a35291bc5c5bb8493a68bbf76d6a9cfa5c117 SHA256 04f3cbc0f7ff36adedc904bce776a0817cc6b704b3c4a04b4df5de66fd7e686f
EBUILD ctemplate-1.0.ebuild 1667 RMD160 7559d6e028e90c6844fd9d20c9f043128cc0de46 SHA1 17dbc25ba19cddba0fb19ed4e2faa8531ad60245 SHA256 8a1a7ff4d164a51a03e75f41e990a527bd8061d232d06baafed096002571b8cf
EBUILD ctemplate-2.0.ebuild 1655 RMD160 1b468871ca1bef78d838dc29c2fc1eecad873188 SHA1 ec21635cb29729d883085d1080a57fdeb9472984 SHA256 05545e3d97fd4357edf8fc2f575e7a0800c111f7c50eeabd2db27db0a98241d3
-MISC ChangeLog 3136 RMD160 466669ccfc9975c7820f07ed692a5797e04c446e SHA1 aec03fe432a2b811005f47669fe0cef13ad93553 SHA256 58839a57a86efc06274e1a3b0a281f99f0a64d208084296bf676b79938831367
+EBUILD ctemplate-2.2.ebuild 1656 RMD160 24ef08a9eb9b10bdf71f7373763ac0b4c44ded25 SHA1 1f8e8941697f65aeff86b6861441a1a9972ae811 SHA256 4876e97c8f1e610d767a7576f25679beae1f55cd77941abe5df0c369079dd62f
+MISC ChangeLog 3256 RMD160 b2f071ee9b4dc315e6946dba25ad252cbd081319 SHA1 4838a6b6fc45dd145a44616090f7b80e05dd01db SHA256 fafb559b4d3ff59f42c2907bfbdb4ac9acb0997e897375c9b53d15522ec586c3
MISC metadata.xml 243 RMD160 3d5501cca5df03c5328c93deea2dea1873195140 SHA1 79ea882e54a0492e5a83275b53b0d4bf8d21f689 SHA256 218da70c1c7d2b46dfab30396f9949239a4805b44d62df58fcc911e5d1f2e131
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREKAAYFAk93Q1kACgkQuUQtlDBCeQLPuQCfWhjurvtkWSGZYHrBkOyDTOcC
-QDoAn2/4NXfpupmbpykoL+JOZsJyq+rQ
-=pCKa
+iQIcBAEBAgAGBQJPkaM7AAoJELEHsLL7fEFWVSQQALXdXlztIqzX6EvHzwhQU+4v
+aRfRiI51XNLTqmye8PLNxg+R7iQJhcdssIjcoXZVfajdvDpp1kpK9OGn8LB28s5e
+CdonnTmhXSyVWSsLv8Lp16NlciSal+yaxmixnFqMCp4XkPnOGPyHx1sbKgrS2X6r
+cxeJrZgnLPBxQXBwLq9M7v9NyCQFo+1636RKDNKhTS0TBT9TlDa5AuDFIumN1sqB
+cF7f+sIYIx2obuCX5dYlGFG9pXYHP53FsxOehdhYJQmGJi+IiLtjXQ/Lm1ZnSaPk
+AxJXo0LOqRqbHsLP/tPyLuAdAsEH9iRZU806nK1JP3qtE0vEQxQEQ8MB30CNaKVu
+Lsz+q8aVvH1lMX06LDtdi7hba+Tf8gOgTdPNdDOT8wUjCIw+Z9sgymVMQnQWdG7Q
+O98BIwuK7qS3klLS2UyJL/Dvp7ZLQ017FB52fk5O6yDJqQBlVmTWTY6kBMWPCVgb
+SYv89yclmvRCUHAlEqmNsx1V1Yc8kVRnrQHwTqdyjtK07dQjhoJN8fbKBYRcfJsV
+gwnhTtJx6i4wQi7igJ0ZH3xkBeewmMqjjOzsIrjqcbKoHuJ0oYWdxJE0z4pIB149
+RLhAEqWkDpkwsb3DwLCFl4dMRyDVydGc+dDIHmG/mgWaKrPQqyAFmpaffqUFxYA5
+rhBGEZN8TWpFfVUdZyRm
+=ITCf
-----END PGP SIGNATURE-----
diff --git a/dev-cpp/ctemplate/ctemplate-2.2.ebuild b/dev-cpp/ctemplate/ctemplate-2.2.ebuild
new file mode 100644
index 000000000000..1d8fd29cca94
--- /dev/null
+++ b/dev-cpp/ctemplate/ctemplate-2.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-2.2.ebuild,v 1.1 2012/04/20 17:55:00 vapier Exp $
+
+EAPI="4"
+
+inherit elisp-common python
+
+DESCRIPTION="A simple but powerful template language for C++"
+HOMEPAGE="http://code.google.com/p/ctemplate/"
+SRC_URI="http://ctemplate.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc emacs vim-syntax static-libs test"
+
+DEPEND="test? ( =dev-lang/python-2* )"
+RDEPEND="vim-syntax? ( >=app-editors/vim-core-7 )
+ emacs? ( virtual/emacs )"
+
+SITEFILE="70ctemplate-gentoo.el"
+
+pkg_setup() {
+ if use test ; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+
+ if use emacs ; then
+ elisp-compile contrib/tpl-mode.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # Installs just every piece
+ rm -rf "${ED}/usr/share/doc"
+
+ dodoc AUTHORS ChangeLog NEWS README
+ use doc && dohtml doc/*
+
+ if use vim-syntax ; then
+ cd "${S}/contrib"
+ sh highlighting.vim || die "unpacking vim scripts failed"
+ insinto /usr/share/vim/vimfiles
+ doins -r .vim/*
+ fi
+
+ if use emacs ; then
+ cd "${S}/contrib"
+ elisp-install ${PN} tpl-mode.el tpl-mode.elc || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}