summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-03 04:21:59 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-03 04:21:59 +0000
commitf66d2be4c73d03f61b04064cf7fd6a194230575d (patch)
treefcc16278673580106d6d78188abbfd9a019ed950 /dev-cpp/ctemplate
parentVersion bump. TODO: review init scripts and logrotate compatibility. (diff)
downloadhistorical-f66d2be4c73d03f61b04064cf7fd6a194230575d.tar.gz
historical-f66d2be4c73d03f61b04064cf7fd6a194230575d.tar.bz2
historical-f66d2be4c73d03f61b04064cf7fd6a194230575d.zip
Version bump.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp/ctemplate')
-rw-r--r--dev-cpp/ctemplate/ChangeLog7
-rw-r--r--dev-cpp/ctemplate/Manifest22
-rw-r--r--dev-cpp/ctemplate/ctemplate-1.0.ebuild77
3 files changed, 95 insertions, 11 deletions
diff --git a/dev-cpp/ctemplate/ChangeLog b/dev-cpp/ctemplate/ChangeLog
index 1e39cc238010..78cd8d32d7e1 100644
--- a/dev-cpp/ctemplate/ChangeLog
+++ b/dev-cpp/ctemplate/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-cpp/ctemplate
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.12 2011/04/29 09:55:13 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.13 2011/09/03 04:21:59 radhermit Exp $
+
+*ctemplate-1.0 (03 Sep 2011)
+
+ 03 Sep 2011; Tim Harder <radhermit@gentoo.org> +ctemplate-1.0.ebuild:
+ Version bump.
29 Apr 2011; Tim Harder <radhermit@gentoo.org> -ctemplate-0.98.ebuild:
Remove old.
diff --git a/dev-cpp/ctemplate/Manifest b/dev-cpp/ctemplate/Manifest
index 712405f15d84..165922a8f6c3 100644
--- a/dev-cpp/ctemplate/Manifest
+++ b/dev-cpp/ctemplate/Manifest
@@ -1,20 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX 70ctemplate-gentoo.el 282 RMD160 3719bdae10ccdaaadf403b21031930f8f107d8fc SHA1 638e8e8d1614873fe6a85ab23d94875ac1b8019b SHA256 5b0f78a1bfc6171856ba0822612cff0a0451ee9c7969ab4ae935f15eed715de7
AUX ctemplate-0.99-gcc-4.6.patch 350 RMD160 6cababec6bce54440a13b63d24b49e0e07333bca SHA1 7869eb45dd6ecefa0e59b9ffaac5f7b55638c433 SHA256 20aa0bb29eab1100e2f501eea26a86860b25cacad322799f49e62ec8f8932104
DIST ctemplate-0.99.tar.gz 787831 RMD160 b15cd6825d8f8ec841318ddb1b7afdadbc47931f SHA1 7fe974dfe90d35748564fa577f2c8be4b46f9663 SHA256 e460502ca347d632dd942b9cd46cd6a16d0b53971d65e79b32056f19276061f9
+DIST ctemplate-1.0.tar.gz 837995 RMD160 ca1fdc571a869280d0395f919191a0773505c9d0 SHA1 313e3ee7f9e28adb537c08212eb509bdb848de56 SHA256 731279f1717527cf85ff79ed19b8674f91c3768d8bc20b09440e8dd1ca1b5bf8
EBUILD ctemplate-0.99.ebuild 1644 RMD160 7a57afb64817b1ac1704dbc776fcfb68d5b1c9f7 SHA1 ca26711cea2a2f8b12508488d9778521985ccdc4 SHA256 157e9fdc3c7db0262a5137aa5ff49082629f9dde208d62ec61f81d1b8aa5e765
-MISC ChangeLog 2168 RMD160 d0653293576a33187d34ecbecb5fa7e574e08dff SHA1 123193ad639dfb93070f91309bcbdc51a9a686d6 SHA256 2eef0d18fb127d78858b7cab490c820849537519b21dc9e291f1394c29f3cf17
+EBUILD ctemplate-1.0.ebuild 1752 RMD160 b8f24e554fe9208dd5f47944ebd7b5ead3426fcb SHA1 778a93b09d79cf2747918cfe7aa3643301f066b6 SHA256 0d929bf5441e335c2f1187fa37c9347b4a6e29ae6b8d3a46eccb34459d9d26e3
+MISC ChangeLog 2287 RMD160 760901f51be5d83ba6fba54efbc8f0ddf0d0c8ce SHA1 48fc8abf17431fa591ddc378f5ffbc9dcc55231a SHA256 577ef08f0f62e235145cfe8f0defd813320d7bf6324f491cea97cd1678a413a5
MISC metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef SHA1 2a4ef4879b918a28132d21cd6d1bbaa2a30dccde SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBAgAGBQJNuosHAAoJEEqz6FtPBkyjl/UH/3k0dAPVAioeMrQCh098txgS
-BsV35fgaX141+0gmOdSOF9axiFqcoAGGWnMJIBP8tvpFOHTTmE5iP/YCpBUbwtdj
-JEM1BwsSh3RMTnFBkdVhLSJYWSNDns+RbM0ivBEJjcl5UmCKyROhQCS7znwAvnJE
-+nEIAdo6LKgeqP1kaIUcEAq8R7urc3DiUqJNVOR1axCtE+mdeLS45ymbv9I4DprO
-J6xz5yajhePXsrc7+zdtkRXuCTiTpHTbYQyfleIO1AzNrG5M1GWTwhefpUYe0hIS
-GbW5epjCG7jeUSieQQQhPHw4BcKoMq6JmEg2xGYenM1AB0Gt71IWMBwj475dGJ4=
-=Kfn4
+iQEcBAEBCgAGBQJOYat3AAoJEEqz6FtPBkyjVK0H/3xoUKSoygpbTROoJFYA3V+A
+qEAsmaRwrZ//7nhTfyTmY53zvgxM6JGk4ksacb1G8rK8vQoFVSGvhjGmV1NVVMIi
+GxbLwONCo+GL3BBr4C+cD0PfUdeiNTvOD/aycaGSrs5XtjVLfO/sr4/YsNo+zAec
+drluDlwHXEXgKxE1lQ7KAIpMg1NiobYuQFwZUpRbaiEd1Ma/TpC3pHzK8E247ibh
+n0B0ePSl+YkgQxqcXi1zPwlEkjDHDK19kRMBiq/V+RKnJwB2c/XMx8eu5J3RzSaD
+4kWJGO/5WNyVchMwXTWDFrbslk/I20YrJPhe9OUKdN2EyG9WjS70KUovQVhsYIw=
+=qF9v
-----END PGP SIGNATURE-----
diff --git a/dev-cpp/ctemplate/ctemplate-1.0.ebuild b/dev-cpp/ctemplate/ctemplate-1.0.ebuild
new file mode 100644
index 000000000000..c300e4151438
--- /dev/null
+++ b/dev-cpp/ctemplate/ctemplate-1.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-1.0.ebuild,v 1.1 2011/09/03 04:21:59 radhermit Exp $
+
+EAPI="3"
+
+inherit elisp-common python
+
+DESCRIPTION="A simple but powerful template language for C++"
+HOMEPAGE="http://code.google.com/p/google-ctemplate/"
+SRC_URI="http://google-ctemplate.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~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 \
+ --disable-dependency-tracking \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake || die "emake failed"
+
+ if use emacs ; then
+ elisp-compile contrib/tpl-mode.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # 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
+}