summaryrefslogtreecommitdiff
blob: b501edc80734395a4aff01064455af2195009e32 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/basket/basket-0.5.0.ebuild,v 1.9 2006/09/30 21:03:07 troll Exp $

inherit eutils kde autotools

DESCRIPTION="A DropDrawers clone. Multiple information organizer"
HOMEPAGE="http://basket.kde.org/"
SRC_URI="http://basket.kde.org/downloads/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ppc x86"
IUSE=""

DEPEND="virtual/fam"

need-kde 3.3

src_unpack() {
	kde_src_unpack

	# patch from basket developer to solve compilation
	# problemes on systems without arts
	use arts || epatch ${FILESDIR}/${P}-noarts.patch
	use amd64 && epatch ${FILESDIR}/${P}-amd64-gcc4.1.patch

	einfo "Fixing Makefile.in to use FAM"
	sed -i -e "s/\(^basket_LDADD = .*$\)/\1 -lfam/" ${S}/src/Makefile.in
}