summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/libthrowable/ChangeLog9
-rw-r--r--dev-cpp/libthrowable/Manifest16
-rw-r--r--dev-cpp/libthrowable/files/digest-libthrowable-0.9.43
-rw-r--r--dev-cpp/libthrowable/libthrowable-0.9.4.ebuild47
-rw-r--r--dev-cpp/libthrowable/metadata.xml5
5 files changed, 80 insertions, 0 deletions
diff --git a/dev-cpp/libthrowable/ChangeLog b/dev-cpp/libthrowable/ChangeLog
new file mode 100644
index 000000000..33558fca4
--- /dev/null
+++ b/dev-cpp/libthrowable/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-cpp/libthrowable
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 12 Oct 2006; Christian Faulhammer (opfer) <gentoo@faulhammer.org>
+ +libthrowable-0.9.4.ebuild, +metadata.xml:
+ A debuggin library for C++, initial ebuild by Mathias Langer
+ <mlangc@gmx.at>, heavily reworked
+
diff --git a/dev-cpp/libthrowable/Manifest b/dev-cpp/libthrowable/Manifest
new file mode 100644
index 000000000..7131e4df3
--- /dev/null
+++ b/dev-cpp/libthrowable/Manifest
@@ -0,0 +1,16 @@
+DIST libthrowable-0.9.4.tar.bz2 266131 RMD160 3750242b8cbdc8896617e8505c88c4656ccf665f SHA1 94f9891706d5f63285b40412e55a00d206ba8837 SHA256 cbbe8b4fefad410822fbf965f859e1e57426877edab4ca64c9befd4c214780ae
+EBUILD libthrowable-0.9.4.ebuild 1256 RMD160 475a9759b81d6158053bdd86f1c44e811dcee3d9 SHA1 fbc57de82703e6481a5c9bb633113e20cfaba546 SHA256 5c11902b680a230c70b1530a3349e422731dbde69966739ea2126b1a7df168b4
+MD5 5257fefe5e0aff30a2549b2fca87d463 libthrowable-0.9.4.ebuild 1256
+RMD160 475a9759b81d6158053bdd86f1c44e811dcee3d9 libthrowable-0.9.4.ebuild 1256
+SHA256 5c11902b680a230c70b1530a3349e422731dbde69966739ea2126b1a7df168b4 libthrowable-0.9.4.ebuild 1256
+MISC ChangeLog 334 RMD160 861d6d76425befa6ee36a1d1916ccccd23e4e593 SHA1 087eaea682de9feb8fc2cd87ccda547c6d9d4820 SHA256 b7426303c12d1d22d3e69b73b45c27016f8bd3a61af9d8ebbc4797e9b66dcadb
+MD5 3297f94feee9f9db761b6c6feba09b1d ChangeLog 334
+RMD160 861d6d76425befa6ee36a1d1916ccccd23e4e593 ChangeLog 334
+SHA256 b7426303c12d1d22d3e69b73b45c27016f8bd3a61af9d8ebbc4797e9b66dcadb ChangeLog 334
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 4c914ef53e3205bf188d1960ac26ae0f files/digest-libthrowable-0.9.4 259
+RMD160 017eaddbbcaebd8bbeb09f129b9296a0b12b32d8 files/digest-libthrowable-0.9.4 259
+SHA256 fb71c05528647483fa351cc8c162bbc28a21d1beeda7dc016c906095c50a90df files/digest-libthrowable-0.9.4 259
diff --git a/dev-cpp/libthrowable/files/digest-libthrowable-0.9.4 b/dev-cpp/libthrowable/files/digest-libthrowable-0.9.4
new file mode 100644
index 000000000..4848f4fbc
--- /dev/null
+++ b/dev-cpp/libthrowable/files/digest-libthrowable-0.9.4
@@ -0,0 +1,3 @@
+MD5 9ba606f04eec95388a6a3245b94ce080 libthrowable-0.9.4.tar.bz2 266131
+RMD160 3750242b8cbdc8896617e8505c88c4656ccf665f libthrowable-0.9.4.tar.bz2 266131
+SHA256 cbbe8b4fefad410822fbf965f859e1e57426877edab4ca64c9befd4c214780ae libthrowable-0.9.4.tar.bz2 266131
diff --git a/dev-cpp/libthrowable/libthrowable-0.9.4.ebuild b/dev-cpp/libthrowable/libthrowable-0.9.4.ebuild
new file mode 100644
index 000000000..02f87e14a
--- /dev/null
+++ b/dev-cpp/libthrowable/libthrowable-0.9.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Easy error handling and debugging in C++"
+HOMEPAGE="http://libthrowable.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="threads examples"
+
+DEPEND=""
+RDEPEND=">=dev-util/pkgconfig-0.20"
+
+pkg_setup() {
+ # check if this is a recompile and if the USE flag threads has changed
+ # must be done before anything is installed!
+ if use threads; then
+ has_version dev-cpp/libthrowable && ! built_with_use dev-cpp/libthrowable threads \
+ && elog "You recompile with USE=threads, so remember to rebuilt all depending packages!"
+ else
+ has_version dev-cpp/libthrowable && built_with_use dev-cpp/libthrowable threads \
+ && elog "You recompile without USE=threads, so remember to rebuilt all depending packages!"
+ fi
+}
+
+
+src_compile() {
+ econf $(use_enable threads pthreads) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "installing ${PF} failed"
+ dodoc README NEWS AUTHORS
+
+ if use examples; then
+ insinto /usr/share/doc/${PN}/examples/
+ doins examples/*
+ fi
+} \ No newline at end of file
diff --git a/dev-cpp/libthrowable/metadata.xml b/dev-cpp/libthrowable/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-cpp/libthrowable/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>