summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-11 08:21:33 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-11 08:21:33 +0000
commit26d756f4b6b45ba754efded1fb76c9196ba3b0cb (patch)
treeda523f4a846516afb16baa7470465a69c8b7d2c4 /dev-cpp
parentfix manifest entry for ChangeLog (diff)
downloadhistorical-26d756f4b6b45ba754efded1fb76c9196ba3b0cb.tar.gz
historical-26d756f4b6b45ba754efded1fb76c9196ba3b0cb.tar.bz2
historical-26d756f4b6b45ba754efded1fb76c9196ba3b0cb.zip
Version bump.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/ctemplate/ChangeLog7
-rw-r--r--dev-cpp/ctemplate/Manifest26
-rw-r--r--dev-cpp/ctemplate/ctemplate-2.0.ebuild76
3 files changed, 93 insertions, 16 deletions
diff --git a/dev-cpp/ctemplate/ChangeLog b/dev-cpp/ctemplate/ChangeLog
index fc1826bf1f87..5d360c4e3f86 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.18 2012/02/11 05:11:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.19 2012/02/11 08:21:33 radhermit Exp $
+
+*ctemplate-2.0 (11 Feb 2012)
+
+ 11 Feb 2012; Tim Harder <radhermit@gentoo.org> +ctemplate-2.0.ebuild:
+ Version bump.
11 Feb 2012; Mike Frysinger <vapier@gentoo.org> ctemplate-1.0.ebuild:
Add some arm love.
diff --git a/dev-cpp/ctemplate/Manifest b/dev-cpp/ctemplate/Manifest
index 8baadaf18ef2..1abf715d6eb1 100644
--- a/dev-cpp/ctemplate/Manifest
+++ b/dev-cpp/ctemplate/Manifest
@@ -1,25 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
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
EBUILD ctemplate-1.0.ebuild 1668 RMD160 bf5d58872faed88f7e13898b16b91bd0d2e55050 SHA1 f4d5592038674c4cb963183c6e791fefe51efbb2 SHA256 2dbbfce654768f85c439e6de83ec68b6a539b32ce374e3b93d0a92cc421db4bf
-MISC ChangeLog 2812 RMD160 783085837a044af5e989995cb981fd6933a1f4b9 SHA1 d22bdcdbe00c690c0a4996d9b4f9fa464d49feb4 SHA256 ffa2830bb152e046b2dade4c7f1c21d0077888c84aab4a8493ed0a700be3001e
+EBUILD ctemplate-2.0.ebuild 1659 RMD160 ac7a6d77d93689f4acad77b2a9285672645fff97 SHA1 a725899c0639c41e4d3cf8f651329b2b6d27e73d SHA256 9c35f24f10f9407ae234d0371b37780c8436617e46919472f176b9ce292b891f
+MISC ChangeLog 2934 RMD160 d496076bc2b910a56b1141cd61a1c14c6443f3f6 SHA1 438d701889cd95281158b28bf8c0052783a79a48 SHA256 63371ace76b34720ebbd92fca1024e607f7d19caf2b831e245306a19e5208db0
MISC metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef SHA1 2a4ef4879b918a28132d21cd6d1bbaa2a30dccde SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBAgAGBQJPNfiiAAoJELEHsLL7fEFWDmMQAJoEexwx9S7vIVPTFgVgaFJa
-jZJseHg8MAMU/7Fm9lVVvJF8CF66Ok7l+TWhfffzN3didQyhk2EXGybn+UdpmODl
-c2u9HGKslExnpxMEYF4GtcGkqiWsyeEMmLHkGm0ZMoYJg9gcDpZCkbGTyG5HgmRm
-ynXnglbLPAQUmUmOoy/ueWVRC7pFhHpMvwOWK9B5FV4B4yAhpli3AUEeFtjEUBa6
-ffhXiwXVF3PjgEh4pubTdJbxXk1ULXHQJXbhFDRLPj2ObewyiRotVBGbxg7sIHjE
-xJ/spd/nIDxh9xZNTPP9X2XBXFnNYiXIRPigaFji1xfSEPwyNP+9C8vQ4K1m1J5I
-13e3SdAd4QbNeG3aX4xiyXUC/F1kzDBX3TbilnKNqkgcLcd41g08j+IvzXY4EopF
-0cU39pfR5+6e7X3z/IyQwRldaIioUICXCEUxFqgtBwtPL73BPHU9k3zGBNbS0yZs
-cy2KhLZengTXVmKHRFEJf7wpIFxqqr8pbCesP3aKxKS4aSU2Slq0HZk8SPOrGjU/
-d7ES77i4iA/ULKG9V/NyCBgSbXzyVIoerLFPxDqa4Xdf4ok/EuMwNQ1xY9gopTdW
-DO8VsE4jdsqMjHDx2tkhMQnMApULYSuS5BwVUv+5TnlHRva86jfJcEBaRyxPZyq/
-QWfGP6qbdh0J40mMCF9v
-=++iT
+iQEcBAEBCgAGBQJPNiUaAAoJEEqz6FtPBkyjzlMIAJdI4kXdhAiuH2OpMkcTe3cv
+cIvIywg+62GaB3C5o/ITJM/F1Q1XIBXprQoeDuDL+U7/739iahvTkF/RYJXuoIcr
+5KUcQ8rQFv+1AT77a5PpGC/2iM0kvuttoXQP81reRn8sDmz3X40S5Q0bRo8dRXO/
+yfHoSgwxgUjmEHl/m86z+QZUh1LEwHnkIxhqGQC2q7tzt6hAh07tbH0Z7N6L7O9X
+MParG4QBfPWRHvqoAoVRsTkJp6Sgt+Lln03+HhPB5B2YrZznp+YExl8Wrne8UkB8
+r3KS9bQR92wLRmFBww2gGHEvTo1DxIb5sNIszFCACd0o8Zuq0X79D6WUdo97MzI=
+=7lJK
-----END PGP SIGNATURE-----
diff --git a/dev-cpp/ctemplate/ctemplate-2.0.ebuild b/dev-cpp/ctemplate/ctemplate-2.0.ebuild
new file mode 100644
index 000000000000..f4f0e82403d7
--- /dev/null
+++ b/dev-cpp/ctemplate/ctemplate-2.0.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.0.ebuild,v 1.1 2012/02/11 08:21:33 radhermit 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
+}