diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-07-16 12:43:07 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-07-16 12:43:07 +0000 |
commit | e6ccbaaf0cb0dc72b7967d70a1295f5472a96932 (patch) | |
tree | 8d85226b2ba201869eefed7fb59a9cde4b13e800 /dev-ruby/ttfunk | |
parent | Version bump (diff) | |
download | gentoo-2-e6ccbaaf0cb0dc72b7967d70a1295f5472a96932.tar.gz gentoo-2-e6ccbaaf0cb0dc72b7967d70a1295f5472a96932.tar.bz2 gentoo-2-e6ccbaaf0cb0dc72b7967d70a1295f5472a96932.zip |
Initial import of ttfunk as dependency of prawn.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ttfunk')
-rw-r--r-- | dev-ruby/ttfunk/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/ttfunk/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/ttfunk/ttfunk-0_pre20090123.ebuild | 38 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/ttfunk/ChangeLog b/dev-ruby/ttfunk/ChangeLog new file mode 100644 index 000000000000..f7ee6271b699 --- /dev/null +++ b/dev-ruby/ttfunk/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/ttfunk +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ttfunk/ChangeLog,v 1.1 2009/07/16 12:43:07 flameeyes Exp $ + +*ttfunk-0_pre20090123 (16 Jul 2009) + + 16 Jul 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +ttfunk-0_pre20090123.ebuild, +metadata.xml: + Initial import of ttfunk as dependency of prawn. + diff --git a/dev-ruby/ttfunk/metadata.xml b/dev-ruby/ttfunk/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/ttfunk/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/ttfunk/ttfunk-0_pre20090123.ebuild b/dev-ruby/ttfunk/ttfunk-0_pre20090123.ebuild new file mode 100644 index 000000000000..9baa6c2cfcec --- /dev/null +++ b/dev-ruby/ttfunk/ttfunk-0_pre20090123.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ttfunk/ttfunk-0_pre20090123.ebuild,v 1.1 2009/07/16 12:43:07 flameeyes Exp $ + +EAPI=2 + +GITHUB_USER=sandal +GITHUB_TREE=900032abee9272485e77f6b68e87c9ad6346f69b + +inherit ruby + +DESCRIPTION="Get Ya TrueType Funk On! (Font Metrics Parser for Prawn)" +HOMEPAGE="http://github.com/sandal/ttfunk/tree/master" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/${GITHUB_TREE} -> ${P}.tgz" + +USE_RUBY="ruby18" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}" + +src_install() { + cd "${WORKDIR}"/${GITHUB_USER}-${PN}-* + + pushd lib + doruby -r * || die "install lib failed" + popd + + docinto examples + dodoc example.rb || die +} |