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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Mar 24 19:25:17 2009 UTC (5 years, 8 months ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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 # Copyright 1999-2009 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.3-r1.ebuild,v 1.2 2009/02/25 14:14:26 josejx Exp $
4
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 ~ppc ~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=(
32 "${FILESDIR}/${PN}-rakefile.patch"
33 "${FILESDIR}/${P}-no_amazon_3.0.diff"
34 "${FILESDIR}/${P}-tooltips.patch"
35 )
36
37 src_compile() {
38 rake || die
39 }
40
41 src_install() {
42 export PREFIX="${D}/usr"
43 rake install || die
44
45 [ -n "${DOCS}" ] && dodoc ${DOCS}
46
47 # Move the installed docs to the gentoo standard directory
48 for doc in "${D}/usr/share/doc/alexandria/*"
49 do
50 dodoc $doc
51 done
52 rm -rf "${D}/usr/share/doc/alexandria"
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/mechanize"
69 echo
70 elog " For Z39.50 support and the Library of Congress and"
71 elog " British Library book proviers:"
72 elog " dev-ruby/ruby-zoom"
73 echo
74 elog " For the Amazon book provider:"
75 elog " dev-ruby/hpricot"
76 echo
77 }

  ViewVC Help
Powered by ViewVC 1.1.20