You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
857 B
33 lines
857 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild,v 1.5 2012/07/11 05:41:25 graaff Exp $
|
|
|
|
EAPI=2
|
|
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
|
|
|
RUBY_FAKEGEM_DOCDIR="doc"
|
|
RUBY_FAKEGEM_EXTRADOC="README"
|
|
|
|
inherit ruby-fakegem versionator
|
|
|
|
DESCRIPTION="An extension to Prawn offering table support, grid layouts and other things"
|
|
HOMEPAGE="http://prawn.majesticseacreature.com/"
|
|
|
|
LICENSE="|| ( GPL-2 Ruby )"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~hppa ~x86-fbsd"
|
|
IUSE="examples"
|
|
|
|
ruby_add_bdepend test "dev-ruby/test-spec dev-ruby/mocha"
|
|
|
|
ruby_add_rdepend "=dev-ruby/prawn-core-$(get_version_component_range 1-2)*"
|
|
|
|
all_ruby_install() {
|
|
all_fakegem_install
|
|
|
|
if use examples; then
|
|
insinto /usr/share/doc/${PF}
|
|
doins -r examples
|
|
fi
|
|
}
|