summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-07-23 13:31:56 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-07-23 13:31:56 +0000
commit43098e31a50cc9866df943f92c007fe9ad305a51 (patch)
treed9ab45324169749d4effa8e14fd9f9a49b37972d /dev-util/qtunit
parentrepoman'd (diff)
downloadhistorical-43098e31a50cc9866df943f92c007fe9ad305a51.tar.gz
historical-43098e31a50cc9866df943f92c007fe9ad305a51.tar.bz2
historical-43098e31a50cc9866df943f92c007fe9ad305a51.zip
repoman'd
Diffstat (limited to 'dev-util/qtunit')
-rw-r--r--dev-util/qtunit/files/digest-qtunit-0.9.61
-rw-r--r--dev-util/qtunit/qtunit-0.9.6.ebuild69
-rw-r--r--dev-util/qtunit/qtunit-0.9.7.ebuild55
3 files changed, 30 insertions, 95 deletions
diff --git a/dev-util/qtunit/files/digest-qtunit-0.9.6 b/dev-util/qtunit/files/digest-qtunit-0.9.6
deleted file mode 100644
index 64e673283ad4..000000000000
--- a/dev-util/qtunit/files/digest-qtunit-0.9.6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 dbc4a94e54e2b22575819be29b4d8065 qtunit-0.9.6.tar.bz2 83978
diff --git a/dev-util/qtunit/qtunit-0.9.6.ebuild b/dev-util/qtunit/qtunit-0.9.6.ebuild
deleted file mode 100644
index e39d3bcee48d..000000000000
--- a/dev-util/qtunit/qtunit-0.9.6.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-util/qtunit/qtunit-0.9.6.ebuild,v 1.3 2002/07/11 06:30:25 drobbins Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="QtUnit is a unit testing framework for c++"
-SRC_URI="mirror://sourceforge/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
-
-}
-
diff --git a/dev-util/qtunit/qtunit-0.9.7.ebuild b/dev-util/qtunit/qtunit-0.9.7.ebuild
index 8e2e105b1644..4adc300638c8 100644
--- a/dev-util/qtunit/qtunit-0.9.7.ebuild
+++ b/dev-util/qtunit/qtunit-0.9.7.ebuild
@@ -1,12 +1,16 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
+# Distributed under the terms of the GNU General Public License, v2
# /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"
+SRC_URI="http://freesoftware.fsf.org/download/qtunit/${P}.tar.bz2"
HOMEPAGE="http://www.theleaf.be/projects/qtunit"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
DEPEND="=x11-libs/qt-3*"
export QTDIR="/usr/qt/3"
@@ -34,36 +38,37 @@ src_install () {
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}
+ dohtml -r html
- dodir /usr/share/doc/${P}/plugins
- cp -a plugins/libexampletestmodule.so ${D}/usr/share/doc/${P}/plugins
+ docinto plugins
+ dodoc plugins/libexampletestmodule.so
- 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
+
+ docinto samples/standalonerunner
+ dodoc samples/standalonerunner/*.cpp
+ dodoc samples/standalonerunner/*.h
+ dodoc samples/standalonerunner/*.pro
+
+ docinto samples/testmodule
+ dodoc samples/testmodule/*.cpp
+ dodoc samples/testmodule/*.h
+ dodoc samples/testmodule/*.pro
+
+ docinto samples/guitestrunner
+ dodoc samples/guitestrunner/*.cpp
+ dodoc samples/guitestrunner/*.pro
+
+ docinto samples/texttestrunner
+ dodoc samples/texttestrunner/*.cpp
+ dodoc samples/texttestrunner/*.pro
- 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
+ sed -e "s#<FILEPATH>#<FILEPATH>/usr/share/doc/${PF}/#" \
+ -e "s#<SOURCEPATH>#<SOURCEPATH>/usr/share/doc/${PF}/#" \
+ testproject.qpj > ${D}/usr/share/doc/${PF}/testproject.qpj
}