diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2005-05-22 00:11:18 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2005-05-22 00:11:18 +0000 |
commit | 44e0ac64844b940839b678111448350169d7bd3c (patch) | |
tree | 32835db373486740e5f6eb74cfa0c95167adda26 /dev-util/lincvs/lincvs-1.4.1.ebuild | |
parent | Stable on SPARC. (diff) | |
download | gentoo-2-44e0ac64844b940839b678111448350169d7bd3c.tar.gz gentoo-2-44e0ac64844b940839b678111448350169d7bd3c.tar.bz2 gentoo-2-44e0ac64844b940839b678111448350169d7bd3c.zip |
version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-util/lincvs/lincvs-1.4.1.ebuild')
-rw-r--r-- | dev-util/lincvs/lincvs-1.4.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/lincvs/lincvs-1.4.1.ebuild b/dev-util/lincvs/lincvs-1.4.1.ebuild new file mode 100644 index 000000000000..97ddc81de7cd --- /dev/null +++ b/dev-util/lincvs/lincvs-1.4.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/lincvs/lincvs-1.4.1.ebuild,v 1.1 2005/05/22 00:11:17 carlo Exp $ + +inherit kde-functions + +MY_P="${P/_/-}-0-generic-src" +S="${WORKDIR}/${P/_/-}" + +DESCRIPTION="A graphical CVS client." +HOMEPAGE="http://www.lincvs.com" +SRC_URI="http://www.lincvs.com/download/${MY_P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +IUSE="kde" + +DEPEND="kde? ( >=kde-base/kdelibs-3 )" +RDEPEND="${DEPEND} + dev-util/cvs" +need-qt 3 + +src_compile() { + qmake -o Makefile lincvs.pro + sed -i -e "s/^\tstrip/#\tstrip/" \ + -e "s/CFLAGS = -pipe -Wall -W -O2/CFLAGS = ${CFLAGS} -Wall -W/" \ + -e "s/CXXFLAGS = -pipe -Wall -W -O2/CXXFLAGS = ${CXXFLAGS} -Wall -W/" Makefile \ + || die "sed failed" + emake || die "make failed" +} + +src_install() { + emake install || die "make install failed" + echo "#!/bin/sh" > ${S}/LinCVS/lincvs + echo "exec /usr/share/LinCVS/AppRun" >> ${S}/LinCVS/lincvs + dobin LinCVS/lincvs + rm ${S}/LinCVS/lincvs + dodir /usr/share + cp -pr ${S}/LinCVS ${D}/usr/share + fperms 644 /usr/share/LinCVS/AppI* /usr/share/LinCVS/Messages/* \ + /usr/share/LinCVS/Help/* /usr/share/LinCVS/Help/Translations/*/* + fperms 755 /usr/share/LinCVS/AppRun /usr/share/LinCVS/Tools/* + dodoc AUTHORS BUGS.txt ChangeLog COPYING LICENSE NEWS THANKS VERSION +} |