diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-04-24 10:28:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-04-24 10:28:29 +0000 |
commit | 411358d9ba06d0bfd8ee19db2c445ecc58f8fe50 (patch) | |
tree | 05e4491f6d1f29cd97cb5011b29adce6f8390d1e /dev-util/qtunit | |
parent | touchups (diff) | |
download | historical-411358d9ba06d0bfd8ee19db2c445ecc58f8fe50.tar.gz historical-411358d9ba06d0bfd8ee19db2c445ecc58f8fe50.tar.bz2 historical-411358d9ba06d0bfd8ee19db2c445ecc58f8fe50.zip |
touchups
Diffstat (limited to 'dev-util/qtunit')
-rw-r--r-- | dev-util/qtunit/qtunit-0.9.7.ebuild | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/dev-util/qtunit/qtunit-0.9.7.ebuild b/dev-util/qtunit/qtunit-0.9.7.ebuild index 5237a3ecf6ce..aa9aae8251dd 100644 --- a/dev-util/qtunit/qtunit-0.9.7.ebuild +++ b/dev-util/qtunit/qtunit-0.9.7.ebuild @@ -2,14 +2,13 @@ # 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++" +DESCRIPTION="unit testing framework for c++" 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 sparc " +KEYWORDS="x86 sparc" DEPEND="=x11-libs/qt-3*" @@ -19,56 +18,43 @@ 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 () { - +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 ';' - - dodoc ChangeLog - dodoc INSTALL - dodoc COPYING + + dodoc ChangeLog INSTALL dohtml -r html - + docinto plugins dodoc plugins/libexampletestmodule.so - docinto samples/standalonerunner - dodoc samples/standalonerunner/*.cpp - dodoc samples/standalonerunner/*.h - dodoc samples/standalonerunner/*.pro + dodoc samples/standalonerunner/*.{cpp,h,pro} docinto samples/testmodule - dodoc samples/testmodule/*.cpp - dodoc samples/testmodule/*.h - dodoc samples/testmodule/*.pro + dodoc samples/testmodule/*.{cpp,h,pro} docinto samples/guitestrunner - dodoc samples/guitestrunner/*.cpp - dodoc samples/guitestrunner/*.pro + dodoc samples/guitestrunner/*.{cpp,pro} docinto samples/texttestrunner - dodoc samples/texttestrunner/*.cpp - dodoc samples/texttestrunner/*.pro - + dodoc samples/texttestrunner/*.{cpp,pro} + 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 - } - |