blob: 5533958dcd123b8528731f1fddd12698628b40d5 (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/xdrawchem/xdrawchem-1.8.3.ebuild,v 1.2 2004/06/24 22:21:47 agriffis Exp $
inherit flag-o-matic
DESCRIPTION="a molecular structure drawing program"
HOMEPAGE="http://${PN}.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=x11-libs/qt-3.1.0
>=sys-devel/gcc-3.2
>=app-sci/openbabel-1.100.2*"
src_compile() {
append-flags -O0 # incredible compile times otherwise
# make sure we use moc from Qt, not from eg media-sound/moc
PATH="${QTDIR}/bin:${PATH}"
econf || die
emake || die
}
src_install() {
make DESTDIR=${D} install
cd ${D}/usr/share
dodir /usr/share/doc
mv xdrawchem/doc doc/xdrawchem
dosym /usr/share/doc/xdrawchem /usr/share/xdrawchem/doc
}
|