summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/dclib')
-rw-r--r--net-p2p/dclib/ChangeLog7
-rw-r--r--net-p2p/dclib/dclib-0.2.4.ebuild32
-rw-r--r--net-p2p/dclib/files/dclib-0.2.4-gcc2.patch10
-rw-r--r--net-p2p/dclib/files/digest-dclib-0.2.41
4 files changed, 49 insertions, 1 deletions
diff --git a/net-p2p/dclib/ChangeLog b/net-p2p/dclib/ChangeLog
index 02f344de65de..ed3b75cb802a 100644
--- a/net-p2p/dclib/ChangeLog
+++ b/net-p2p/dclib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/dclib
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/ChangeLog,v 1.13 2003/01/27 20:18:02 styx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/ChangeLog,v 1.14 2003/02/02 10:20:28 aliz Exp $
+
+*dclib-0.2.4 (02 Feb 2003)
+
+ 02 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump.
*dclib-0.2.3 (27 Jan 2003)
diff --git a/net-p2p/dclib/dclib-0.2.4.ebuild b/net-p2p/dclib/dclib-0.2.4.ebuild
new file mode 100644
index 000000000000..6f46f6b2500a
--- /dev/null
+++ b/net-p2p/dclib/dclib-0.2.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/dclib-0.2.4.ebuild,v 1.1 2003/02/02 10:20:28 aliz Exp $
+
+inherit gcc
+
+MY_P="${P/_/}"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="Library for the Qt client for DirectConnect"
+HOMEPAGE="http://dc.ketelhot.de/"
+SRC_URI="http://download.berlios.de/dcgui/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND=">=sys-apps/bzip2-1.0.2
+ >=dev-libs/libxml2-2.4.22"
+
+src_compile() {
+ export CPPFLAGS="${CXXFLAGS} -I/usr/include/libxml2/libxml"
+ if [ `gcc-major-version` == 2 ] ; then
+ patch -p0 < ${FILESDIR}/${P}-gcc2.patch || die
+ fi
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+}
diff --git a/net-p2p/dclib/files/dclib-0.2.4-gcc2.patch b/net-p2p/dclib/files/dclib-0.2.4-gcc2.patch
new file mode 100644
index 000000000000..9554a2d050f0
--- /dev/null
+++ b/net-p2p/dclib/files/dclib-0.2.4-gcc2.patch
@@ -0,0 +1,10 @@
+--- dclib/cthread.cpp.orig 2002-12-19 19:01:57.000000000 -0500
++++ dclib/cthread.cpp 2002-12-19 19:02:09.000000000 -0500
+@@ -16,6 +16,7 @@
+ ***************************************************************************/
+
+ #include <stdio.h>
++#define __USE_POSIX199309
+ #include <time.h>
+ #include <errno.h>
+
diff --git a/net-p2p/dclib/files/digest-dclib-0.2.4 b/net-p2p/dclib/files/digest-dclib-0.2.4
new file mode 100644
index 000000000000..1949b1635611
--- /dev/null
+++ b/net-p2p/dclib/files/digest-dclib-0.2.4
@@ -0,0 +1 @@
+MD5 e2ae8c936f27c40ce9dd2b4af33c5d04 dclib-0.2.4.tar.bz2 467306