| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-security/prawn-security-0.8.4-r1.ebuild,v 1.6 2012/09/27 09:18:07 ssuominen Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
USE_RUBY="ruby18 ree18 jruby ruby19"
|
| 7 |
|
| 8 |
RUBY_FAKEGEM_DOCDIR="doc"
|
| 9 |
RUBY_FAKEGEM_EXTRADOC="README"
|
| 10 |
|
| 11 |
inherit ruby-fakegem
|
| 12 |
|
| 13 |
DESCRIPTION="Popular Password Protection & Permissions for Prawn PDFs"
|
| 14 |
HOMEPAGE="http://prawn.majesticseacreature.com/"
|
| 15 |
|
| 16 |
LICENSE="|| ( GPL-2 Ruby )"
|
| 17 |
SLOT="0"
|
| 18 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
| 19 |
IUSE="examples"
|
| 20 |
|
| 21 |
ruby_add_bdepend "test? ( dev-ruby/test-spec dev-ruby/mocha )"
|
| 22 |
|
| 23 |
ruby_add_rdepend ">=dev-ruby/prawn-core-${PV}"
|
| 24 |
|
| 25 |
all_ruby_install() {
|
| 26 |
all_fakegem_install
|
| 27 |
|
| 28 |
if use examples; then
|
| 29 |
insinto /usr/share/doc/${PF}
|
| 30 |
doins -r examples
|
| 31 |
fi
|
| 32 |
}
|