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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Aug 24 18:44:25 2009 UTC (5 years, 8 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old version.
(Portage version: 2.1.6.13/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2006 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.5.1.ebuild,v 1.4 2006/08/20 07:50:41 wormo Exp $
4
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/3698/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 x86"
16
17 USE_RUBY="ruby18"
18
19 DOCS="AUTHORS COPYING ChangeLog HACKING NEWS README TODO"
20
21 RDEPEND="virtual/ruby
22 >=dev-ruby/ruby-gettext-0.6.1
23 >=dev-ruby/ruby-gnome2-0.12.0
24 >=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
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 make_desktop_entry alexandria "Alexandria" "/usr/share/${PN}/icons/alexandria_small.png" "Utility"
41 }
42
43 pkg_postinst() {
44 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
45
46 # More or less copied from gnome2_gconf_install, which didn't work here
47 export GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source`
48 einfo "Installing GNOME 2 GConf schemas"
49 ${ROOT}/usr/bin/gconftool-2 --makefile-install-rule ${S}/schemas/* 1>/dev/null
50 # For the next line see bug #76726
51 ${ROOT}/usr/bin/gconftool-2 --shutdown
52 }

  ViewVC Help
Powered by ViewVC 1.1.20