summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/socket++/ChangeLog8
-rw-r--r--net-libs/socket++/Manifest15
-rw-r--r--net-libs/socket++/files/digest-socket++-1.12.12-r11
-rw-r--r--net-libs/socket++/files/socket++.pc11
-rw-r--r--net-libs/socket++/socket++-1.12.12-r1.ebuild53
5 files changed, 76 insertions, 12 deletions
diff --git a/net-libs/socket++/ChangeLog b/net-libs/socket++/ChangeLog
index 85f27c4e008a..840bc0fbb6f7 100644
--- a/net-libs/socket++/ChangeLog
+++ b/net-libs/socket++/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/socket++
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/socket++/ChangeLog,v 1.6 2005/01/17 13:56:16 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/socket++/ChangeLog,v 1.7 2005/03/04 00:55:42 ka0ttic Exp $
+
+*socket++-1.12.12-r1 (03 Mar 2005)
+
+ 03 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> +files/socket++.pc,
+ +socket++-1.12.12-r1.ebuild:
+ Revision bump; added a pkgconfig script to make it easier to use in your apps.
17 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> socket++-1.12.12.ebuild:
Marked stable on x86.
diff --git a/net-libs/socket++/Manifest b/net-libs/socket++/Manifest
index 230c8c836f96..1a20b53de530 100644
--- a/net-libs/socket++/Manifest
+++ b/net-libs/socket++/Manifest
@@ -1,14 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 1360d743bb45e1d3b05d37297fd01572 socket++-1.12.12.ebuild 1319
-MD5 db89f20364f566e67ca04daa07c5b90d ChangeLog 1137
+MD5 bc8f23e777f89b90a16cf56d00167776 socket++-1.12.12-r1.ebuild 1490
+MD5 e6542ecbd2b6d6a1b4686e0b9934a5a1 ChangeLog 1355
MD5 bf34cf8cbb54a25fa53cd16fcbf4a2d0 metadata.xml 438
+MD5 de72f99bd9ee929dfc53cbfc508c1c24 files/digest-socket++-1.12.12-r1 67
MD5 de72f99bd9ee929dfc53cbfc508c1c24 files/digest-socket++-1.12.12 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB7lHAEZCkKN40op4RAqD0AJ9azAEb8MzjEsm6AEM3rfKymetXFQCeIZRg
-R0vREanw1m716oy03mTWQBY=
-=0A4Z
------END PGP SIGNATURE-----
+MD5 d496b9852363fe4fa43d5fff5ef994b9 files/socket++.pc 196
diff --git a/net-libs/socket++/files/digest-socket++-1.12.12-r1 b/net-libs/socket++/files/digest-socket++-1.12.12-r1
new file mode 100644
index 000000000000..fcf28fbe0158
--- /dev/null
+++ b/net-libs/socket++/files/digest-socket++-1.12.12-r1
@@ -0,0 +1 @@
+MD5 b96e06129504ae2b4005a5834264c5a4 socket++-1.12.12.tar.gz 64373
diff --git a/net-libs/socket++/files/socket++.pc b/net-libs/socket++/files/socket++.pc
new file mode 100644
index 000000000000..4faaa9c62149
--- /dev/null
+++ b/net-libs/socket++/files/socket++.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=/usr/bin
+libdir=/usr/lib
+includedir=/usr/include
+
+Name: socket++
+Version: PV
+Description: A C++ Socket Library
+Requires:
+Libs: -L/usr/lib -lsocket++
+Cflags: -I/usr/include
diff --git a/net-libs/socket++/socket++-1.12.12-r1.ebuild b/net-libs/socket++/socket++-1.12.12-r1.ebuild
new file mode 100644
index 000000000000..357450de2255
--- /dev/null
+++ b/net-libs/socket++/socket++-1.12.12-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/socket++/socket++-1.12.12-r1.ebuild,v 1.1 2005/03/04 00:55:42 ka0ttic Exp $
+
+DESCRIPTION="C++ Socket Library"
+HOMEPAGE="http://www.linuxhacker.at/socketxx/"
+SRC_URI="http://www.linuxhacker.at/linux/downloads/src/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="debug doc"
+
+DEPEND="sys-devel/automake
+ sys-devel/autoconf
+ sys-devel/libtool
+ sys-apps/texinfo"
+RDEPEND=""
+
+src_compile() {
+ einfo "Running autogen"
+ WANT_AUTOMAKE=1.7 ./autogen || die "autogen failed"
+
+ econf $(use_enable debug) || die "econf failed"
+ emake || die "emake failed"
+
+ if use doc ; then
+ cd ${S}/doc
+ einfo "Building HTML documentation"
+ # the 'html' target in both ${S}/Makefile and ${S}/doc/Makefile
+ # do indeed exist (and succeed when run manually), but fail when
+ # 'make html' is done here, so we call makeinfo ourselves.
+ makeinfo --html -I . -o html socket++.texi || die "makeinfo failed"
+ fi
+}
+
+src_test() {
+ cd ${S}/test
+ make check || die "make check failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README* THANKS || die "dodoc failed"
+
+ insinto /usr/lib/pkgconfig
+ doins ${FILESDIR}/${PN}.pc || die "failed to install pkgconfig script"
+ dosed "s/PV/${PV}/" /usr/lib/pkgconfig/${PN}.pc || die "sed failed"
+
+ if use doc ; then
+ dohtml doc/html/* || die "dohtml failed"
+ fi
+}