summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerry Meyndert <m0rpheus@gentoo.org>2002-06-12 16:26:14 +0000
committerFerry Meyndert <m0rpheus@gentoo.org>2002-06-12 16:26:14 +0000
commita15e46cb29e4e0e87f04eaf6f4eb04ecf76b0fdf (patch)
treed78f9905b048e6ff64726f1888a882cf025a5663 /dev-util/qtunit
parentmasked buggy binutils (diff)
downloadgentoo-2-a15e46cb29e4e0e87f04eaf6f4eb04ecf76b0fdf.tar.gz
gentoo-2-a15e46cb29e4e0e87f04eaf6f4eb04ecf76b0fdf.tar.bz2
gentoo-2-a15e46cb29e4e0e87f04eaf6f4eb04ecf76b0fdf.zip
added latest version
Diffstat (limited to 'dev-util/qtunit')
-rw-r--r--dev-util/qtunit/ChangeLog10
-rw-r--r--dev-util/qtunit/files/digest-qtunit-0.9.71
-rw-r--r--dev-util/qtunit/qtunit-0.9.7.ebuild70
3 files changed, 80 insertions, 1 deletions
diff --git a/dev-util/qtunit/ChangeLog b/dev-util/qtunit/ChangeLog
index af39d447cbec..a2318a620579 100644
--- a/dev-util/qtunit/ChangeLog
+++ b/dev-util/qtunit/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-util/qtunit
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-util/qtunit/ChangeLog,v 1.4 2002/03/15 17:24:10 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/qtunit/ChangeLog,v 1.5 2002/06/12 16:26:14 m0rpheus Exp $
+
+*qtunit-0.9.7 (12 Jun 2002)
+
+ 12 Jun 2002; F.Meyndert <m0rpheus@gentoo.org> qtunit-0.9.7.ebuild,
+ files/digest-qtunit-0.9.7 :
+
+ Upgraded to latest version.
+
*qtunit-0.9.6 (15 Mar 2002)
diff --git a/dev-util/qtunit/files/digest-qtunit-0.9.7 b/dev-util/qtunit/files/digest-qtunit-0.9.7
new file mode 100644
index 000000000000..db6fc6907c3e
--- /dev/null
+++ b/dev-util/qtunit/files/digest-qtunit-0.9.7
@@ -0,0 +1 @@
+MD5 7b2d1d4989d411911449cddb6bdbf7e6 qtunit-0.9.7.tar.bz2 88775
diff --git a/dev-util/qtunit/qtunit-0.9.7.ebuild b/dev-util/qtunit/qtunit-0.9.7.ebuild
new file mode 100644
index 000000000000..86a8a45eefa3
--- /dev/null
+++ b/dev-util/qtunit/qtunit-0.9.7.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Geert Bevin <gbevin@theleaf.be>
+# /space/gentoo/cvsroot/gentoo-x86/dev-util/qtunit/qtunit-0.9.6.ebuild,v 1.2 2002/05/27 17:27:38 drobbins Exp
+
+S=${WORKDIR}/${P}
+DESCRIPTION="QtUnit is a unit testing framework for c++"
+SRC_URI="http://freesoftware.fsf.org/download/qtunit/${PN}-${PV}.tar.bz2"
+HOMEPAGE="http://www.theleaf.be/projects/qtunit"
+
+DEPEND="=x11-libs/qt-3*"
+
+export QTDIR="/usr/qt/3"
+export PATH="$QTDIR/bin:$PATH"
+export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
+export QMAKESPEC="linux-g++"
+
+src_compile() {
+
+ qmake qtunit.pro || die
+ make || die # emake doesn't work
+
+}
+
+src_install () {
+
+ insinto /usr
+ dolib lib/libqtunit.so.1.0.0
+ dosym /usr/lib/libqtunit.so.1.0.0 /usr/lib/libqtunit.so.1.0
+ dosym /usr/lib/libqtunit.so.1.0 /usr/lib/libqtunit.so.1
+ dosym /usr/lib/libqtunit.so.1 /usr/lib/libqtunit.so
+ dobin bin/guitestrunner
+ dobin bin/texttestrunner
+
+ dodir /usr/include/qtunit
+ find src -name "*.h" -exec cp '{}' ${D}/usr/include/qtunit ';'
+
+ docinto /usr
+ dodoc ChangeLog
+ dodoc INSTALL
+ dodoc COPYING
+
+ dodir /usr/share/doc/${P}
+ cp -a html ${D}/usr/share/doc/${P}
+
+ dodir /usr/share/doc/${P}/plugins
+ cp -a plugins/libexampletestmodule.so ${D}/usr/share/doc/${P}/plugins
+
+ dodir /usr/share/doc/${P}/samples/standalonerunner
+ dodir /usr/share/doc/${P}/samples/testmodule
+ dodir /usr/share/doc/${P}/samples/guitestrunner
+ dodir /usr/share/doc/${P}/samples/texttestrunner
+
+ cp -a samples/standalonerunner/*.cpp ${D}/usr/share/doc/${P}/samples/standalonerunner
+ cp -a samples/standalonerunner/*.h ${D}/usr/share/doc/${P}/samples/standalonerunner
+ cp -a samples/standalonerunner/*.pro ${D}/usr/share/doc/${P}/samples/standalonerunner
+ cp -a samples/testmodule/*.cpp ${D}/usr/share/doc/${P}/samples/testmodule
+ cp -a samples/testmodule/*.h ${D}/usr/share/doc/${P}/samples/testmodule
+ cp -a samples/testmodule/*.pro ${D}/usr/share/doc/${P}/samples/testmodule
+ cp -a samples/guitestrunner/*.cpp ${D}/usr/share/doc/${P}/samples/guitestrunner
+ cp -a samples/guitestrunner/*.pro ${D}/usr/share/doc/${P}/samples/guitestrunner
+ cp -a samples/texttestrunner/*.cpp ${D}/usr/share/doc/${P}/samples/texttestrunner
+ cp -a samples/texttestrunner/*.pro ${D}/usr/share/doc/${P}/samples/texttestrunner
+
+ sed -e "s#<FILEPATH>#<FILEPATH>/usr/share/doc/${P}/#" \
+ -e "s#<SOURCEPATH>#<SOURCEPATH>/usr/share/doc/${P}/#" \
+ testproject.qpj > ${D}/usr/share/doc/${P}/testproject.qpj
+
+}
+