summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2009-07-25 16:33:36 +0000
committerJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2009-07-25 16:33:36 +0000
commit93670c9108941d1364024b30dd3f5c32da61124f (patch)
tree5cf32d5c16a90065551900d2f748c7d0c51dd60a /dev-libs
parentsys-libs/libfaketime: Fix severals QA. like dosym on shared object, doman man... (diff)
downloadsunrise-93670c9108941d1364024b30dd3f5c32da61124f.tar.gz
sunrise-93670c9108941d1364024b30dd3f5c32da61124f.tar.bz2
sunrise-93670c9108941d1364024b30dd3f5c32da61124f.zip
dev-libs/unittest: New ebuild, bug 273257. Thanks to scarabeus
svn path=/sunrise/; revision=8883
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/unittest/ChangeLog9
-rw-r--r--dev-libs/unittest/Manifest5
-rw-r--r--dev-libs/unittest/files/makefile-remove-test.patch20
-rw-r--r--dev-libs/unittest/metadata.xml5
-rw-r--r--dev-libs/unittest/unittest-0.50.62.ebuild36
5 files changed, 75 insertions, 0 deletions
diff --git a/dev-libs/unittest/ChangeLog b/dev-libs/unittest/ChangeLog
new file mode 100644
index 000000000..f096c2221
--- /dev/null
+++ b/dev-libs/unittest/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-libs/unittest
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 25 Jul 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
+ +unittest-0.50.62.ebuild, +files/makefile-remove-test.patch,
+ +metadata.xml:
+ New ebuild, bug 273257. Thanks to scarabeus
+
diff --git a/dev-libs/unittest/Manifest b/dev-libs/unittest/Manifest
new file mode 100644
index 000000000..76d0d3e89
--- /dev/null
+++ b/dev-libs/unittest/Manifest
@@ -0,0 +1,5 @@
+AUX makefile-remove-test.patch 481 RMD160 637edd8c3b25fd460d79a6f6ef4e35fb51e0a35a SHA1 ba7a4a6ad6636ae0b96e79b8401912aefe54c3b0 SHA256 7aad39982821314441e470ef38d147d46c6b4d45514e952e14f266deea3c437d
+DIST unittest-0.50-62.tar.gz 56619 RMD160 c7b391da9270fdde7c53f9a6328d63ff2fbfea5b SHA1 c724ab210a86e79c66fcba9e72577a57e816eca1 SHA256 d7d5577c76ac2b6a67d3afa441f3a8da84354404cdf4d9d0754f667d88f1ca0b
+EBUILD unittest-0.50.62.ebuild 688 RMD160 83862abddaae73fb4b7481db1e4d4d5f9ade110e SHA1 3e0fe34200e2220eeaa7a701e2a4b911eea0dea5 SHA256 6eb0b6a67015c148d2dbe961a4a8c5d4d9d24bee6e39a01026ce59ac35de0d72
+MISC ChangeLog 312 RMD160 bb93ae0e61837c330a356372dd7dae3f64285d67 SHA1 472ff20468ff48759aaedf7115d7ff00731f96e1 SHA256 3036ef816b78cfd3bec8324ede480801c0c6c231fba1076ddb7baf4bc8614cd0
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-libs/unittest/files/makefile-remove-test.patch b/dev-libs/unittest/files/makefile-remove-test.patch
new file mode 100644
index 000000000..7223067a4
--- /dev/null
+++ b/dev-libs/unittest/files/makefile-remove-test.patch
@@ -0,0 +1,20 @@
+--- Makefile.in.old 2009-06-08 12:52:03.000000000 +0200
++++ Makefile.in 2009-06-08 13:54:28.000000000 +0200
+@@ -11,7 +11,7 @@
+ TARNAME = $(TARDIR).tar.gz
+ TMPTARDIR = /tmp/$(TARDIR)
+
+-all: test
++all: lib
+
+ Makefile: @srcdir@/Makefile.in
+ @abs_top_builddir@/config.status
+@@ -27,7 +27,7 @@
+ $(MAKE) -C lib clean
+ $(MAKE) -C test clean
+
+-install: test
++install:
+ mkdir -p $(HTMLDIR)
+ if [ -d @srcdir@/html ]; then \
+ install -m 644 @srcdir@/html/docs/*.html $(HTMLDIR); \
diff --git a/dev-libs/unittest/metadata.xml b/dev-libs/unittest/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-libs/unittest/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/dev-libs/unittest/unittest-0.50.62.ebuild b/dev-libs/unittest/unittest-0.50.62.ebuild
new file mode 100644
index 000000000..1178e4689
--- /dev/null
+++ b/dev-libs/unittest/unittest-0.50.62.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils versionator
+
+MY_P=${PN}-$(replace_version_separator 2 '-')
+DESCRIPTION="C++ unit test framework"
+HOMEPAGE="http://unittest.red-bean.com"
+SRC_URI="http://unittest.red-bean.com/tar/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/makefile-remove-test.patch"
+}
+
+src_install() {
+ dodoc docs/* || die "Install failed"
+
+ insinto /usr/include/${PN}
+ doins include/* || die "Install failed"
+
+ dolib.a lib/libunittest.a
+}
+
+src_test() {
+ make test || die "Tests failed"
+}