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/vanessa-socket-0.0.7.ebuild
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/vanessa-socket-0.0.7.ebuild')
-rw-r--r--net-libs/vanessa-socket/vanessa-socket-0.0.7.ebuild19
1 files changed, 16 insertions, 3 deletions
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
}