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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sun Aug 20 07:50:41 2006 UTC (8 years, 4 months ago) by wormo
Branch: MAIN
Changes since 1.3: +4 -1 lines
  add scrollkeeper dependency, thanks to Chris Langdon and Petr Pisar
  for reporting (#Bug 107401)

(Portage version: 2.1-r1)

1 dertobi123 1.2 # Copyright 1999-2006 Gentoo Foundation
2 caleb 1.1 # Distributed under the terms of the GNU General Public License v2
3 wormo 1.4 # $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.6.1.ebuild,v 1.3 2006/03/24 12:46:18 caleb Exp $
4 caleb 1.1
5     inherit ruby gnome2 eutils
6    
7     IUSE=""
8    
9     DESCRIPTION="A GNOME application to help you manage your book collection"
10     HOMEPAGE="http://alexandria.rubyforge.org/"
11     SRC_URI="http://rubyforge.org/frs/download.php/6308/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 dertobi123 1.2 KEYWORDS="~amd64 ~ppc ~x86"
16 caleb 1.1
17     USE_RUBY="ruby18"
18    
19     DOCS="AUTHORS COPYING ChangeLog HACKING NEWS README TODO"
20    
21     RDEPEND=">=dev-lang/ruby-1.8.0
22     >=dev-ruby/ruby-gettext-0.6.1
23 caleb 1.3 >=dev-ruby/ruby-gnome2-0.14.0
24 caleb 1.1 >=dev-ruby/ruby-libglade2-0.12.0
25     >=dev-ruby/ruby-gconf2-0.12.0
26     >=dev-ruby/ruby-gdkpixbuf2-0.12.0
27     >=dev-ruby/ruby-amazon-0.8.3
28     >=dev-ruby/ruby-zoom-0.2.0"
29    
30 wormo 1.4 DEPEND="${RDEPEND}
31     app-text/scrollkeeper"
32    
33 caleb 1.1 src_compile() {
34     ruby install.rb config || die
35     ruby install.rb setup || die
36     }
37    
38     src_install() {
39     export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
40     ruby install.rb config --prefix=${D}/usr || die
41     ruby install.rb install || die
42    
43     make_desktop_entry alexandria "Alexandria" "/usr/share/${PN}/icons/alexandria_small.png" "Utility"
44     }
45    
46     pkg_postinst() {
47     unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
48    
49     gnome2_gconf_install
50    
51     # For the next line see bug #76726
52     ${ROOT}/usr/bin/gconftool-2 --shutdown
53     }

  ViewVC Help
Powered by ViewVC 1.1.20