summaryrefslogtreecommitdiff
blob: e0c33dc859a1085d798b476848923b12090e4cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/bookcase/bookcase-0.9.ebuild,v 1.2 2004/05/02 11:03:37 dholm Exp $

inherit kde
need-kde 3.1

DESCRIPTION="A book manager for the KDE environment"
HOMEPAGE="http://www.periapsis.org/bookcase/"
SRC_URI="http://www.periapsis.org/${PN}/download/${P}.tar.gz"

KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
LICENSE="GPL-2"

IUSE=""
SLOT="0"


newdepend ">=dev-libs/libxml2-2.4.23
	>=dev-libs/libxslt-1.0.19"


src_compile() {
	myconf="${myconf} --disable-debug --enable-final"
	# The package does not want to build without the 
	#	--disable-debug: since fileappfinder uses an undefined 
	#		kbDebug function
	#	--enable-final: I do not know the reason for build 
	# 		without this function. Looked at the *.spec (RPM)
	#		at the ${HOMEPAGE}
	# This *.spec file requires also the ImageMagick package. 

	# Build process of bookcase
	kde_src_compile
}

src_install() {
	make DESTDIR=${D} install || or die

	# install some extra docs not included in make install's targets
	dodoc AUTHORS TODO ChangeLog
}