summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-04-09 13:14:09 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-04-09 13:14:09 +0000
commitaf1c07e241ff59051d7df7a16354b3599ca48df4 (patch)
tree79ce027bacb48c7d3406037142a67557903c4793 /dev-util/coccinelle
parentVersion bump. (diff)
downloadhistorical-af1c07e241ff59051d7df7a16354b3599ca48df4.tar.gz
historical-af1c07e241ff59051d7df7a16354b3599ca48df4.tar.bz2
historical-af1c07e241ff59051d7df7a16354b3599ca48df4.zip
version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-util/coccinelle')
-rw-r--r--dev-util/coccinelle/ChangeLog8
-rw-r--r--dev-util/coccinelle/Manifest10
-rw-r--r--dev-util/coccinelle/coccinelle-0.2.2.ebuild60
3 files changed, 73 insertions, 5 deletions
diff --git a/dev-util/coccinelle/ChangeLog b/dev-util/coccinelle/ChangeLog
index 10574640d215..8f18f1cba875 100644
--- a/dev-util/coccinelle/ChangeLog
+++ b/dev-util/coccinelle/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/coccinelle
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.3 2010/04/06 11:55:18 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.4 2010/04/09 13:14:09 aballier Exp $
+
+*coccinelle-0.2.2 (09 Apr 2010)
+
+ 09 Apr 2010; Alexis Ballier <aballier@gentoo.org>
+ +coccinelle-0.2.2.ebuild:
+ version bump
06 Apr 2010; Alexis Ballier <aballier@gentoo.org> coccinelle-0.2.1.ebuild:
set VARTEXFONTS to avoid sandbox violations, bug #312343
diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index 8a7171ad7d2d..3dbfbe80dc81 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -3,14 +3,16 @@ Hash: SHA1
DIST coccinelle-0.2.0.tgz 2081092 RMD160 bac5d17fe270221bd423987e5c3f3f7e7863310b SHA1 28ff09d5b990af4d744817002f2f56dcff33b95e SHA256 24a21a391e73359cf67e5bc57024e30455931e98d3ec98fcc373480445cae6d5
DIST coccinelle-0.2.1.tgz 2081619 RMD160 dd0ff4131dee057f37f7be7195a9868fac082b57 SHA1 403169ab12465f92c4215d70529ddc1971258042 SHA256 422c1043390af51adf78ce5f4f1be88be4a966a3431e7ed1f8fd023c0199ce1a
+DIST coccinelle-0.2.2.tgz 2095155 RMD160 2e3028fadd44cca41946e6868ad8e0f6181f0b27 SHA1 dc8171001beb60727dd7f0c2a95e89bb8481446f SHA256 de71d8b4bd6e77deb824d9848a70124a366e5c45b20763bd3d465fc631edd0e6
EBUILD coccinelle-0.2.0.ebuild 1614 RMD160 fa3bef235da973bce441fe45a434dab32485bf2e SHA1 835c9f41115316cb35da4b57a0581443c2d40823 SHA256 94221bdb65c8930a186f6e4019e605c0f88aa2f27de4a1561e4853c05766a2cd
EBUILD coccinelle-0.2.1.ebuild 1639 RMD160 98606e13a228a7ce0a537152655cf3467455646d SHA1 8959137be093e31fb5070bb30cd3996aeb4b3bf3 SHA256 0f8bde7c2fe4ed9078e98793578a949cac45a552fc3dee08cbf3cda51c674819
-MISC ChangeLog 659 RMD160 8966c79ce71c17519ed57753d56a19d086da7e2b SHA1 46f79ae432811cf53a877888feaa61ad8f3def19 SHA256 f4cc0175c81df24c79e78a62b6dbd6cd2afbeabf879452df7c0f7e923d3b2da1
+EBUILD coccinelle-0.2.2.ebuild 1645 RMD160 4125c06b3ddc8822a908cf5463238923f88f8c3a SHA1 8b94696b7e9cce8b74c5753118bf5e75b0aecfe5 SHA256 4576250f08455fd3b4425ec1ecd75aa9e149083b0b87ae95ef30b3b6592d406e
+MISC ChangeLog 788 RMD160 d2b22330a4df12b85c043614f11c306be23fbe9c SHA1 5763b460d022b94f8be1b23565cff1c235d28332 SHA256 f7fdf2d08706a3ad460f4cbf96dcedac1d206110e946f32a718f63b072ef2a56
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAku7ISwACgkQvFcC4BYPU0qDWACdGwHip/pu7wxtUQ4IyLfzZrUy
-A7cAnRFJFWUagN/b43dR9qzCMv9M4S1y
-=Z1PE
+iEYEARECAAYFAku/KCcACgkQvFcC4BYPU0oGgwCeNTRyfncBC4HYgdFIrdN7l3EN
+SuwAn3HD8VHkVfMHgoSfjbo6atfd/eyQ
+=DWCe
-----END PGP SIGNATURE-----
diff --git a/dev-util/coccinelle/coccinelle-0.2.2.ebuild b/dev-util/coccinelle/coccinelle-0.2.2.ebuild
new file mode 100644
index 000000000000..845c2482b0bd
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-0.2.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/coccinelle-0.2.2.ebuild,v 1.1 2010/04/09 13:14:09 aballier Exp $
+
+EAPI="2"
+
+inherit multilib
+
+DESCRIPTION="Program matching and transformation engine"
+HOMEPAGE="http://coccinelle.lip6.fr/"
+SRC_URI="http://coccinelle.lip6.fr/distrib/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +ocamlopt python"
+
+RDEPEND="python? ( dev-lang/python )
+ >=dev-lang/ocaml-3.10[ocamlopt?]"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base
+ || ( dev-texlive/texlive-latexextra app-text/ptex ) )"
+
+src_configure() {
+ # non-autoconf
+ ./configure \
+ --prefix=/usr \
+ $(use ocamlopt || echo "--no-opt") \
+ $(use_with python) \
+ || die
+ sed -i "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" Makefile.config
+ sed -i "s:^SHAREDIR=.*:SHAREDIR=/usr/libexec/${PN}/:" Makefile.config
+ sed -i "s:^MANDIR=.*:MANDIR=/usr/share/man/:" Makefile.config
+}
+
+src_compile() {
+ emake depend || die
+ emake || die
+ if use doc ; then
+ VARTEXFONTS="${T}"/fonts emake docs || die
+ fi
+ if use ocamlopt ; then
+ emake opt || die
+ fi
+}
+
+src_test() {
+ ./spatch standard.h -parse_c -dir tests/ || die
+ yes | ./spatch -iso_file standard.iso -macro_file_builtins standard.h -testall || die
+ if use ocamlopt ; then
+ ./spatch.opt -iso_file standard.iso -macro_file_builtins standard.h -testall || die
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc authors.txt bugs.txt changes.txt credits.txt readme.txt
+ use doc && dodoc docs/manual/*.pdf
+ export STRIP_MASK='*/coccinelle/spatch'
+}