diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-09-18 12:31:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-09-18 12:31:16 +0000 |
commit | 16319252c372dc3bc09268b1309b9250b64fc43b (patch) | |
tree | 79b8ffe3fc250883387f682b76d697f8b75c6b9f /dev-ruby | |
parent | Fix herd to be proxy-maintainers (diff) | |
download | historical-16319252c372dc3bc09268b1309b9250b64fc43b.tar.gz historical-16319252c372dc3bc09268b1309b9250b64fc43b.tar.bz2 historical-16319252c372dc3bc09268b1309b9250b64fc43b.zip |
Initial import of the semacode datamatrix generation library.
Package-Manager: portage-2.2.0_alpha58/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/semacode/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/semacode/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/semacode/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/semacode/semacode-0.7.4.ebuild | 40 |
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-ruby/semacode/ChangeLog b/dev-ruby/semacode/ChangeLog new file mode 100644 index 000000000000..069eebe72496 --- /dev/null +++ b/dev-ruby/semacode/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/semacode +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/semacode/ChangeLog,v 1.1 2011/09/18 12:31:16 flameeyes Exp $ + +*semacode-0.7.4 (18 Sep 2011) + + 18 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org> +semacode-0.7.4.ebuild, + +metadata.xml: + Initial import of the semacode datamatrix generation library. + diff --git a/dev-ruby/semacode/Manifest b/dev-ruby/semacode/Manifest new file mode 100644 index 000000000000..b47e9c33744e --- /dev/null +++ b/dev-ruby/semacode/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST semacode-0.7.4.gem 18432 RMD160 31a948e14c397c6898a6482d481a8451eed86aa0 SHA1 ebc6c8e7af1b4c2be8277bc4d0b87122b0f63358 SHA256 7b25e8b272ea12efd7e0261563daaf536eb7b023b6be12dde4b2031806be3b97 +EBUILD semacode-0.7.4.ebuild 918 RMD160 063a2b46636ac5361b6b0a725aa5d3aece15b5c8 SHA1 79fae2f1e2e2ee9e211d01bf1cf88d45cda43e15 SHA256 d9efef632eedf246d095677e858a64e57013b3caf216a4b21e795fe693bcaf95 +MISC ChangeLog 403 RMD160 8f1dd5583f8dbaa6174f4c3546cedf78aa56cf54 SHA1 376da7138a8a9e5f31c00ca1c03a68fea564bb75 SHA256 ea2b1ed3755ddf6c6361b331a138b7dc3d9a56dc22650565f8dcca7c154221fd +MISC metadata.xml 159 RMD160 eb364108353c7843cf1c01fba92129aaa46a0334 SHA1 0734f4c292968932afc57d0aa3a681c0b75b7bfc SHA256 abab7965b1f41e0acf6b54c554945c1c9fa35b5afab848d784dc58c298bc4679 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iEYEARECAAYFAk515H0ACgkQAiZjviIA2XgdUQCgwXNHD10BOQz/dDs4keEcGVMk +YmYAnRDgHvbcWuzBUP44Zrdg/2OutcWK +=FVxR +-----END PGP SIGNATURE----- diff --git a/dev-ruby/semacode/metadata.xml b/dev-ruby/semacode/metadata.xml new file mode 100644 index 000000000000..ed77b4f90bcb --- /dev/null +++ b/dev-ruby/semacode/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/semacode/semacode-0.7.4.ebuild b/dev-ruby/semacode/semacode-0.7.4.ebuild new file mode 100644 index 000000000000..e123707c87fa --- /dev/null +++ b/dev-ruby/semacode/semacode-0.7.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/semacode/semacode-0.7.4.ebuild,v 1.1 2011/09/18 12:31:16 flameeyes Exp $ + +EAPI=4 + +# jruby → it's a native extension +# ruby19 → needs trivial patching +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" + +inherit ruby-fakegem + +DESCRIPTION="DataMatrix encoder for Ruby" +HOMEPAGE="http://sohne.net/projects/semafox/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -C ext \ + CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed" + cp ext/semacode_native.so lib || die +} + +each_ruby_test() { + ${RUBY} -Ilib tests/test.rb || die "tests failed" +} |