summaryrefslogtreecommitdiff
blob: 37d2b48a2347139a9457d13c4faf74e5ffe30200 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/kemistry/kemistry-0.7.ebuild,v 1.4 2005/08/20 16:44:44 ribosome Exp $

inherit kde eutils

DESCRIPTION="Kemistry--a set of chemistry related tools for KDE."
HOMEPAGE="http://kemistry.sourceforge.net"
SRC_URI="mirror://sourceforge/kemistry/${P}.tar.bz2"

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

DEPEND="kde-base/kdelibs
	|| ( kde-base/kdesdk-misc kde-base/kdesdk-meta kde-base/kdesdk )"
need-kde 3

src_unpack() {
	kde_src_unpack

	epatch ${FILESDIR}/${P}-gcc3.4.patch
	if use amd64; then
		epatch ${FILESDIR}/${P}-fPIC.patch
	fi
}