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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sat Aug 18 16:11:00 2012 UTC (6 years, 1 month ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
clean up

(Portage version: 2.1.11.9/cvs/Linux i686)

1 phajdan.jr 1.4 # Copyright 1999-2012 Gentoo Foundation
2 fauli 1.1 # Distributed under the terms of the GNU General Public License v2
3 fauli 1.6 # $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.6.7.ebuild,v 1.5 2012/08/16 03:49:27 flameeyes Exp $
4 fauli 1.1
5     EAPI=2
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 phajdan.jr 1.4 KEYWORDS="amd64 ~ppc x86"
17 fauli 1.1 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-gnome2-0.16.0
24     >=dev-ruby/ruby-libglade2-0.12.0
25     >=dev-ruby/ruby-gconf2-0.12.0
26     >=dev-ruby/imagesize-0.1.1
27     dev-ruby/hpricot
28     evo? ( >=dev-ruby/revolution-0.5 )"
29    
30     ruby_add_bdepend "dev-ruby/rake"
31    
32     DEPEND="${DEPEND} app-text/scrollkeeper"
33    
34     RUBY_PATCHES=(
35     "${FILESDIR}/${PN}-0.6.6-Rakefile.patch"
36     )
37    
38     each_ruby_compile() {
39     ${RUBY} -S rake || die
40     }
41    
42     each_ruby_install() {
43 fauli 1.3 export DESTDIR="${D}" PREFIX=/usr RUBYLIBDIR="$(ruby_rbconfig_value 'sitelibdir')"
44     ${RUBY} -S rake install_package_staging || die
45 fauli 1.1 }
46    
47     all_ruby_install() {
48     [ -n "${DOCS}" ] && dodoc ${DOCS} || die "Failed to install documentation"
49     }
50    
51     pkg_postinst() {
52     unset PREFIX
53    
54     gnome2_gconf_install
55    
56     # For the next line see bug #76726
57     "${ROOT}/usr/bin/gconftool-2" --shutdown
58    
59     echo
60     elog "To enable some book providers you will need to emerge"
61     elog "additional packages:"
62     echo
63     elog " For the Deastore book provider:"
64     elog " dev-ruby/htmlentities"
65     echo
66     elog " For Z39.50 support and the Library of Congress and"
67     elog " British Library book proviers:"
68 flameeyes 1.5 elog " dev-ruby/zoom"
69 fauli 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20