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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Mar 24 19:25:17 2009 UTC (6 years ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump to 0.6.4.1 final and clean up of old ebuilds
(Portage version: 2.1.6.7/cvs/Linux i686)

1 graaff 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 fauli 1.2 # $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.6.3.ebuild,v 1.1 2008/04/23 18:20:26 graaff Exp $
4 graaff 1.1
5     inherit gnome2 ruby
6    
7     IUSE="evo"
8    
9     DESCRIPTION="A GNOME application to help you manage your book collection"
10     HOMEPAGE="http://alexandria.rubyforge.org/"
11     SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16    
17     DOCS="COPYING ChangeLog README TODO"
18    
19     RDEPEND=">=dev-lang/ruby-1.8.0
20     >=dev-ruby/ruby-gettext-0.6.1
21     >=dev-ruby/ruby-gnome2-0.16.0
22     >=dev-ruby/ruby-libglade2-0.12.0
23     >=dev-ruby/ruby-gconf2-0.12.0
24     >=dev-ruby/imagesize-0.1.1
25     evo? ( >=dev-ruby/revolution-0.5 )"
26    
27     DEPEND=">=dev-lang/ruby-1.8.0
28     app-text/scrollkeeper
29     dev-ruby/rake"
30    
31     PATCHES="${FILESDIR}/${PN}-rakefile.patch
32     ${FILESDIR}/${P}-no_amazon_3.0.diff"
33    
34     src_compile() {
35     rake || die
36     }
37    
38     src_install() {
39     export PREFIX="${D}/usr"
40     rake install || die
41    
42     [ -n "${DOCS}" ] && dodoc ${DOCS}
43    
44     # Move the installed docs to the gentoo standard directory
45     for doc in "${D}/usr/share/doc/alexandria/*"
46     do
47     dodoc $doc
48     done
49     rm -rf "${D}/usr/share/doc/alexandria"
50     }
51    
52     pkg_postinst() {
53     unset PREFIX
54    
55     gnome2_gconf_install
56    
57     # For the next line see bug #76726
58     "${ROOT}/usr/bin/gconftool-2" --shutdown
59    
60     echo
61     elog "To enable some book providers you will need to emerge"
62     elog "additional packages:"
63     echo
64     elog " For the Deastore book provider:"
65     elog " dev-ruby/mechanize"
66     echo
67     elog " For Z39.50 support and the Library of Congress and"
68     elog " British Library book proviers:"
69     elog " dev-ruby/ruby-zoom"
70     echo
71     elog " For the Amazon book provider:"
72     elog " dev-ruby/hpricot"
73     echo
74     }

  ViewVC Help
Powered by ViewVC 1.1.20