summaryrefslogtreecommitdiff
blob: 9baa6c2cfcecfaac2314f75a83e190aeb26ac891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
}