summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-02-01 10:30:23 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-02-01 10:30:23 +0000
commite8c171fb084778287023b397c6f74d82e2ac6ecf (patch)
tree28fd9e44c17bbcdfd9b58b8c1d6df873f5a71ec5 /dev-util/coccinelle
parentRemove old ruby-mmap (diff)
downloadhistorical-e8c171fb084778287023b397c6f74d82e2ac6ecf.tar.gz
historical-e8c171fb084778287023b397c6f74d82e2ac6ecf.tar.bz2
historical-e8c171fb084778287023b397c6f74d82e2ac6ecf.zip
version bump
Package-Manager: portage-2.2_rc62/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.1.ebuild60
3 files changed, 73 insertions, 5 deletions
diff --git a/dev-util/coccinelle/ChangeLog b/dev-util/coccinelle/ChangeLog
index 17fa45ab5031..7d4df8544cfc 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.1 2010/01/24 18:07:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.2 2010/02/01 10:30:23 aballier Exp $
+
+*coccinelle-0.2.1 (01 Feb 2010)
+
+ 01 Feb 2010; Alexis Ballier <aballier@gentoo.org>
+ +coccinelle-0.2.1.ebuild:
+ version bump
*coccinelle-0.2.0 (24 Jan 2010)
diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index 2ba4d5511e47..e31df76e044a 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -2,13 +2,15 @@
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
EBUILD coccinelle-0.2.0.ebuild 1614 RMD160 fa3bef235da973bce441fe45a434dab32485bf2e SHA1 835c9f41115316cb35da4b57a0581443c2d40823 SHA256 94221bdb65c8930a186f6e4019e605c0f88aa2f27de4a1561e4853c05766a2cd
-MISC ChangeLog 393 RMD160 f5ca857e20e4f7a1ed21f5c3efcb42ed7176660a SHA1 089ef1538e299b22d1f7cfab1d8518f1e12f921c SHA256 ed4de31c812f50121e09647f5a97c8e4c1eb60fecbdb176b7e01daa5e6d15387
+EBUILD coccinelle-0.2.1.ebuild 1614 RMD160 18d243a8ddf14cff8ef551e8be24f2db039570d4 SHA1 da7ad8bce83eceee190cbc5533250a93119dbeb4 SHA256 0c4d93e0ac773697753b58feb9163d47c85a45c4effe92ca2c6ab7366ab4e2b3
+MISC ChangeLog 522 RMD160 aec63633cf7a340a6602e240267be285d33e52b9 SHA1 91c9d9eb5486cddda253d37375bd312d4a849eb2 SHA256 967927ae0c27ad49632d36c266c2b88290b1d7549ae5986918b63093717870ce
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAktcjG4ACgkQvFcC4BYPU0rucgCfa6PFwpRRV3CXLD7FC9EhPg9w
-EJYAoKRQ5lLLP6sc67HC1VA5xP8Dp3LO
-=kAsf
+iEYEARECAAYFAktmrUUACgkQvFcC4BYPU0rJ1QCgveKQ78QFnPuVFEwFUAaurg74
+tIQAoJL6iYIj4ORV0uD0jmoh2vBGe5FZ
+=tuQT
-----END PGP SIGNATURE-----
diff --git a/dev-util/coccinelle/coccinelle-0.2.1.ebuild b/dev-util/coccinelle/coccinelle-0.2.1.ebuild
new file mode 100644
index 000000000000..504709f7a4bb
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-0.2.1.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.1.ebuild,v 1.1 2010/02/01 10:30:23 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
+ emake docs || die
+ fi
+ if use ocamlopt ; then
+ emake opt || die
+ fi
+}
+
+src_test() {
+ ./spatch standard.h -parse_c -dir tests/ || die
+ ./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'
+}