/[gentoo-x86]/app-misc/alexandria/alexandria-0.6.8.ebuild
Gentoo

Contents of /app-misc/alexandria/alexandria-0.6.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Apr 19 02:57:49 2014 UTC (7 months, 1 week ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
app-misc/alexandria removal. Supports ruby-1.8 only See bug #434064.

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.6.8.ebuild,v 1.5 2013/09/14 06:51:12 graaff Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18"
7
8 inherit gnome2 ruby-ng
9
10 DESCRIPTION="A GNOME application to help you manage your book collection"
11 HOMEPAGE="http://alexandria.rubyforge.org/"
12 SRC_URI="mirror://rubyforge/${PN}/${PN}-${PV}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="evo"
18
19 DOCS="ChangeLog README TODO doc/BUGS doc/cuecat_support.rdoc doc/FAQ doc/HACKING doc/NEWS"
20
21 ruby_add_rdepend "
22 >=dev-ruby/ruby-gettext-0.6.1
23 >=dev-ruby/ruby-gtk2-0.90
24 >=dev-ruby/ruby-goocanvas-0.90
25 >=dev-ruby/ruby-gstreamer-0.90
26 >=dev-ruby/ruby-pango-0.90
27 >=dev-ruby/imagesize-0.1.1
28 dev-ruby/hpricot
29 evo? ( >=dev-ruby/revolution-0.5 )"
30
31 ruby_add_bdepend "dev-ruby/rake"
32
33 DEPEND="${DEPEND}
34 gnome-base/gconf:2
35 app-text/scrollkeeper"
36
37 RUBY_PATCHES=(
38 "${FILESDIR}/${P}-set_status_label.patch"
39 "${FILESDIR}/${PN}-0.6.6-Rakefile.patch"
40 )
41
42 each_ruby_compile() {
43 ${RUBY} -S rake || die
44 }
45
46 each_ruby_install() {
47 export DESTDIR="${D}" PREFIX=/usr RUBYLIBDIR="$(ruby_rbconfig_value 'sitelibdir')"
48 ${RUBY} -S rake install_package_staging || die
49 }
50
51 all_ruby_install() {
52 [ -n "${DOCS}" ] && dodoc ${DOCS} || die "Failed to install documentation"
53 }
54
55 pkg_postinst() {
56 unset PREFIX
57
58 gnome2_gconf_install
59
60 # For the next line see bug #76726
61 "${ROOT}/usr/bin/gconftool-2" --shutdown
62
63 echo
64 elog "To enable some book providers you will need to emerge"
65 elog "additional packages:"
66 echo
67 elog " For the Deastore book provider:"
68 elog " dev-ruby/htmlentities"
69 }

  ViewVC Help
Powered by ViewVC 1.1.20