blob: 3a0cf81bfafe3c50f8b522a96ac823a525964206 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/lincvs/lincvs-1.2.0.ebuild,v 1.7 2004/06/25 02:39:34 agriffis Exp $
inherit eutils
DESCRIPTION="A Graphical CVS Client"
HOMEPAGE="http://www.lincvs.org/"
SRC_URI="http://ppprs1.phy.tu-dresden.de/~trogisch/${PN}/download/LinCVS/${P}/${P}-0-generic-src.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~sparc"
IUSE="kde"
DEPEND="kde? ( >=kde-base/kdelibs-2 )
>=x11-libs/qt-3.0.5
>=dev-util/cvs-1.9"
RDEPEND="${DEPEND}
dev-util/cvs"
src_compile() {
# Patch wrapper script
epatch ${FILESDIR}/${P}-gentoo.diff
qmake -o Makefile lincvs.pro
sed -e "s/^\tstrip/#\tstrip/" -i Makefile
addpredict ${QTDIR}/etc/settings
emake || die "make failed"
emake install || die "make install failed"
}
src_install () {
mkdir -p ${D}/usr/share
cp -pR ${S}/LinCVS ${D}/usr/share
dobin ${S}/LinCVS/lincvs
}
|