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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Dec 22 09:23:25 2009 UTC (5 years ago) by fauli
Branch: MAIN
Changes since 1.2: +2 -2 lines
stable x86, bug 297270
(Portage version: 2.1.6.13/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.5.ebuild,v 1.2 2009/12/20 15:18:58 hwoarang Exp $
4
5 inherit gnome2 ruby
6
7 DESCRIPTION="A GNOME application to help you manage your book collection"
8 HOMEPAGE="http://alexandria.rubyforge.org/"
9 SRC_URI="mirror://rubyforge/${PN}/${PN}-${PV}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ~ppc x86"
14 IUSE="evo"
15
16 DOCS="ChangeLog README TODO"
17
18 RDEPEND=">=dev-lang/ruby-1.8.0
19 >=dev-ruby/ruby-gettext-0.6.1
20 >=dev-ruby/ruby-gnome2-0.16.0
21 >=dev-ruby/ruby-libglade2-0.12.0
22 >=dev-ruby/ruby-gconf2-0.12.0
23 >=dev-ruby/imagesize-0.1.1
24 dev-ruby/hpricot
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 )
34
35 src_compile() {
36 rake || die
37 }
38
39 src_install() {
40 export PREFIX="${D}/usr"
41 rake install || die
42
43 [ -n "${DOCS}" ] && dodoc ${DOCS}
44
45 # Move the installed docs to the gentoo standard directory
46 for doc in "${D}/usr/share/doc/alexandria/*"
47 do
48 dodoc $doc
49 done
50 rm -rf "${D}/usr/share/doc/alexandria"
51 }
52
53 pkg_postinst() {
54 unset PREFIX
55
56 gnome2_gconf_install
57
58 # For the next line see bug #76726
59 "${ROOT}/usr/bin/gconftool-2" --shutdown
60
61 echo
62 elog "To enable some book providers you will need to emerge"
63 elog "additional packages:"
64 echo
65 elog " For the Deastore book provider:"
66 elog " dev-ruby/htmlentities"
67 echo
68 elog " For Z39.50 support and the Library of Congress and"
69 elog " British Library book proviers:"
70 elog " dev-ruby/ruby-zoom"
71 }

  ViewVC Help
Powered by ViewVC 1.1.20