summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-01-21 20:41:27 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-01-21 20:41:27 +0000
commit855723ca91690f8008dcbec29dad44e456d8df62 (patch)
tree342e650ae791b895dc09461befbed2e663c4e7e5 /net-libs/vanessa-socket
parentStable on sparc wrt #78620 (diff)
downloadgentoo-2-855723ca91690f8008dcbec29dad44e456d8df62.tar.gz
gentoo-2-855723ca91690f8008dcbec29dad44e456d8df62.tar.bz2
gentoo-2-855723ca91690f8008dcbec29dad44e456d8df62.zip
improved ebuild, added a patch to fix library version
Diffstat (limited to 'net-libs/vanessa-socket')
-rw-r--r--net-libs/vanessa-socket/ChangeLog6
-rw-r--r--net-libs/vanessa-socket/Manifest13
-rw-r--r--net-libs/vanessa-socket/files/vanessa-socket-0.0.7-version.patch21
-rw-r--r--net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild19
4 files changed, 44 insertions, 15 deletions
diff --git a/net-libs/vanessa-socket/ChangeLog b/net-libs/vanessa-socket/ChangeLog
index 7a9ded244160..03a8ac306dc4 100644
--- a/net-libs/vanessa-socket/ChangeLog
+++ b/net-libs/vanessa-socket/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/vanessa-socket
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/vanessa-socket/ChangeLog,v 1.9 2005/01/21 19:33:22 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/vanessa-socket/ChangeLog,v 1.10 2005/01/21 20:41:27 xmerlin Exp $
+
+ 22 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org>
+ +files/vanessa-socket-0.0.7-version.patch, vanessa-socket-0.0.7.ebuild:
+ improved ebuild, added a patch to fix library version
21 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org>
vanessa-socket-0.0.7.ebuild:
diff --git a/net-libs/vanessa-socket/Manifest b/net-libs/vanessa-socket/Manifest
index cc65ba98e26b..e0cd9861dbd0 100644
--- a/net-libs/vanessa-socket/Manifest
+++ b/net-libs/vanessa-socket/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 e156072bfb4de3a1edf5433049b3b7fc vanessa-socket-0.0.5_beta4.ebuild 654
-MD5 180e2849088ac129550b24c567d21349 vanessa-socket-0.0.7.ebuild 663
+MD5 f56d13df3df68772f340e0e87730b36e vanessa-socket-0.0.7.ebuild 901
MD5 2bb8b62459aa4ff99e0fb3da585dc981 ChangeLog 1082
MD5 4821c19c6bb72e3366ef45d4b9c7a806 metadata.xml 352
MD5 50108b7f705587d089391f402901604a files/digest-vanessa-socket-0.0.7 72
MD5 c07dd0b4484ef777caabb5492943323d files/digest-vanessa-socket-0.0.5_beta4 77
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFB8ZXSgMUyd/cdjWsRAqDdAJ48CZ81Bg4OL35IliQQqTSYukwWAACfbfFM
-ioqns1ccW/3I+JGXAGtQiVs=
-=4UVH
------END PGP SIGNATURE-----
+MD5 b3d1ee6988f7cfc06c311dc79c18bf65 files/vanessa-socket-0.0.7-version.patch 1104
diff --git a/net-libs/vanessa-socket/files/vanessa-socket-0.0.7-version.patch b/net-libs/vanessa-socket/files/vanessa-socket-0.0.7-version.patch
new file mode 100644
index 000000000000..d3a74677425e
--- /dev/null
+++ b/net-libs/vanessa-socket/files/vanessa-socket-0.0.7-version.patch
@@ -0,0 +1,21 @@
+--- vanessa_socket-0.0.7/libvanessa_socket/Makefile.in.chris 2004-03-23 03:11:54.000000000 +0000
++++ vanessa_socket-0.0.7/libvanessa_socket/Makefile.in 2005-01-22 00:51:14.481612464 +0000
+@@ -120,7 +120,7 @@
+ libvanessa_socket_la_SOURCES = vanessa_socket.h vanessa_socket_client.c vanessa_socket_host.c vanessa_socket_daemon.c vanessa_socket_handler.c vanessa_socket_host_port.c vanessa_socket_pipe.c vanessa_socket_port.c vanessa_socket_server.c
+
+
+-libvanessa_socket_la_LDFLAGS = -version-info 0:4:0
++libvanessa_socket_la_LDFLAGS = -version-info 0:7:0
+
+ libvanessa_socket_la_LIBADD = @extra_libs@ -lvanessa_logger
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+--- vanessa_socket-0.0.7/libvanessa_socket/Makefile.am.chris 2004-03-23 02:09:56.000000000 +0000
++++ vanessa_socket-0.0.7/libvanessa_socket/Makefile.am 2005-01-22 00:51:05.629958120 +0000
+@@ -38,6 +38,6 @@
+ vanessa_socket_port.c \
+ vanessa_socket_server.c
+
+-libvanessa_socket_la_LDFLAGS = -version-info 0:4:0
++libvanessa_socket_la_LDFLAGS = -version-info 0:7:0
+
+ libvanessa_socket_la_LIBADD = @extra_libs@ -lvanessa_logger
diff --git a/net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild b/net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild
index 1d236d5ff58d..715f0a89b096 100644
--- a/net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild
+++ b/net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild,v 1.4 2005/01/21 19:33:22 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild,v 1.5 2005/01/21 20:41:27 xmerlin Exp $
+
+inherit eutils
MY_PN="${PN/-/_}"
MY_P="${MY_PN}-${PV}"
@@ -15,9 +17,20 @@ IUSE=""
DEPEND=">=dev-libs/vanessa-logger-0.0.6"
-S=${WORKDIR}/vanessa_socket-0.0.7
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/vanessa-socket-0.0.7-version.patch || die
+}
+
+src_compile() {
+ econf || die "error configure"
+ emake || die "error compiling"
+}
src_install() {
- einstall || die
+ make DESTDIR=${D} install || die "error installing"
dodoc README NEWS AUTHORS TODO
}