diff options
author | Geert Bevin <gbevin@gentoo.org> | 2002-01-08 16:04:17 +0000 |
---|---|---|
committer | Geert Bevin <gbevin@gentoo.org> | 2002-01-08 16:04:17 +0000 |
commit | 6dfc4758d56047e957dd387f9b906678badfef1d (patch) | |
tree | 0e3b657ce222240442d76b6eaf3ac2e2d5788615 /dev-util/qtunit | |
parent | update to snort 1.8.3 (diff) | |
download | historical-6dfc4758d56047e957dd387f9b906678badfef1d.tar.gz historical-6dfc4758d56047e957dd387f9b906678badfef1d.tar.bz2 historical-6dfc4758d56047e957dd387f9b906678badfef1d.zip |
Initial package.
Diffstat (limited to 'dev-util/qtunit')
-rw-r--r-- | dev-util/qtunit/files/digest-qtunit-0.9.1 | 1 | ||||
-rw-r--r-- | dev-util/qtunit/qtunit-0.9.1.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-util/qtunit/files/digest-qtunit-0.9.1 b/dev-util/qtunit/files/digest-qtunit-0.9.1 new file mode 100644 index 000000000000..306c7b5427a3 --- /dev/null +++ b/dev-util/qtunit/files/digest-qtunit-0.9.1 @@ -0,0 +1 @@ +MD5 a3432cc338bf203fee06737e802b2269 qtunit-0.9.1.tar.bz2 61440 diff --git a/dev-util/qtunit/qtunit-0.9.1.ebuild b/dev-util/qtunit/qtunit-0.9.1.ebuild new file mode 100644 index 000000000000..b72b8e7f1698 --- /dev/null +++ b/dev-util/qtunit/qtunit-0.9.1.ebuild @@ -0,0 +1,67 @@ +# 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> +# $Header: /var/cvsroot/gentoo-x86/dev-util/qtunit/qtunit-0.9.1.ebuild,v 1.1 2002/01/08 16:04:17 gbevin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="QtUnit is a unit testing framework for c++" +SRC_URI="http://prdownloads.sourceforge.net/qtunit/qtunit-0.9.1.tar.bz2" +HOMEPAGE="http://www.theleaf.be/projects/qtunit" + +DEPEND=">=x11-libs/qt-3.0.1" + +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 + dobin bin/guitestrunner + dobin bin/standalonerunner + dobin bin/texttestrunner + + dodir /usr/include/qtunit + find src -name "*.h" -exec cp '{}' ${D}/usr/include/qtunit ';' + + docinto /usr + dodoc ChangeLog + dodoc INSTALL + + 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 + +} + |