summaryrefslogtreecommitdiff
blob: a64c7816017d5901dac4d7eecf76789f0bb2d9df (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/katalog/katalog-0.4.ebuild,v 1.1 2007/01/13 22:16:41 deathwing00 Exp $

inherit kde

DESCRIPTION="Integrated cataloger for KDE"
SRC_URI="http://salvaste.altervista.org/files/${P}.tar.gz"
HOMEPAGE="http://salvaste.altervista.org/"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~sparc ~x86"
IUSE=""

DEPEND=">=dev-util/scons-0.96.1"

RDEPEND=">=dev-db/sqlite-3.1"

src_compile() {
	local myconf="kdeincludes=$(kde-config --prefix)/include prefix=${ROOT}/usr "
	use amd64 && myconf="${myconf} libsuffix=64"

	scons configure ${myconf} || die "configure failed"
	scons ${MAKEOPTS} || die "scons failed"
}

src_install() {
	scons install DESTDIR="${D}"
	dodoc AUTHORS ChangeLog INSTALL NEWS README
}

need-kde 3.4