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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Thu Aug 25 10:42:00 2005 UTC (9 years, 2 months ago) by citizen428
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Cleaned out old versions.
(Portage version: 2.0.51.22-r2)

1 eradicator 1.3 # Copyright 1999-2005 Gentoo Foundation
2 citizen428 1.1 # Distributed under the terms of the GNU General Public License v2
3 citizen428 1.6 # $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.4.0.ebuild,v 1.5 2005/03/24 12:10:51 citizen428 Exp $
4 citizen428 1.1
5     inherit ruby gnome2
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/1834/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 citizen428 1.4 KEYWORDS="x86"
16 citizen428 1.1
17     USE_RUBY="ruby18"
18    
19     DOCS="AUTHORS COPYING ChangeLog HACKING NEWS README TODO"
20    
21     RDEPEND="virtual/ruby
22 swegener 1.2 >=dev-ruby/ruby-gettext-0.6.1
23     >=dev-ruby/ruby-gnome2-0.10.1
24     >=dev-ruby/ruby-libglade2-0.10.1
25     >=dev-ruby/ruby-gconf2-0.10.1
26     >=dev-ruby/ruby-gdkpixbuf2-0.10.1
27     >=dev-ruby/ruby-amazon-0.8.3"
28 citizen428 1.1
29     src_compile() {
30     echo $GCONF_CONFIG_SOURCE
31     ruby install.rb config || die
32     ruby install.rb setup || die
33     }
34    
35     src_install() {
36     export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
37     ruby install.rb config --prefix=${D}/usr || die
38     ruby install.rb install || die
39     }
40    
41     pkg_postinst() {
42     unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
43    
44     # More or less copied from gnome2_gconf_install, which didn't work here
45     export GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source`
46     einfo "Installing GNOME 2 GConf schemas"
47     ${ROOT}/usr/bin/gconftool-2 --makefile-install-rule ${S}/schemas/* 1>/dev/null
48 citizen428 1.5 # Added to fix bug #76726
49     ${ROOT}/usr/bin/gconftool-2 --shutdown
50 citizen428 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20