summaryrefslogtreecommitdiff
blob: a6e8f2b1992660602726769eab140111a5e5215d (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
44
45
46
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/bookcase/bookcase-0.9.3.ebuild,v 1.2 2004/07/04 10:46:24 centic Exp $

inherit kde eutils

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"
LICENSE="GPL-2"

IUSE=""
SLOT="0"

DEPEND=">=dev-libs/libxml2-2.4.23
	>=dev-libs/libxslt-1.0.19"
need-kde 3.1

src_unpack() {
	kde_src_unpack
	epatch ${FILESDIR}/bookcase.gcc34.patch
}

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
}