summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-12-30 03:00:22 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-12-30 03:00:22 +0000
commitd137b23e183483ae8d457e975bb1a91f7ff87b56 (patch)
tree7789cf7fd36a175d4efb1a62e3ab86793af6ba43 /net-libs/gnet
parentI suck, forgot to commit these, thanks drobbins for reminding me (diff)
downloadgentoo-2-d137b23e183483ae8d457e975bb1a91f7ff87b56.tar.gz
gentoo-2-d137b23e183483ae8d457e975bb1a91f7ff87b56.tar.bz2
gentoo-2-d137b23e183483ae8d457e975bb1a91f7ff87b56.zip
added ebuild from alpha
Diffstat (limited to 'net-libs/gnet')
-rw-r--r--net-libs/gnet/files/digest-gnet-1.1.01
-rw-r--r--net-libs/gnet/files/gnet-docdir-gentoo.diff11
-rw-r--r--net-libs/gnet/gnet-1.1.0.ebuild37
3 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/gnet/files/digest-gnet-1.1.0 b/net-libs/gnet/files/digest-gnet-1.1.0
new file mode 100644
index 000000000000..6b80664c9558
--- /dev/null
+++ b/net-libs/gnet/files/digest-gnet-1.1.0
@@ -0,0 +1 @@
+MD5 ad7aef2f1de593e548134922472d3b98 gnet-1.1.0.tar.gz 262144
diff --git a/net-libs/gnet/files/gnet-docdir-gentoo.diff b/net-libs/gnet/files/gnet-docdir-gentoo.diff
new file mode 100644
index 000000000000..80a6ca3bf273
--- /dev/null
+++ b/net-libs/gnet/files/gnet-docdir-gentoo.diff
@@ -0,0 +1,11 @@
+--- doc/Makefile Sat Dec 29 21:12:17 2001
++++ doc/gentoo-Makefile Sat Dec 29 21:33:17 2001
+@@ -97,7 +97,7 @@
+ # The directory containing the source code (if it contains documentation).
+ DOC_SOURCE_DIR = ..
+
+-HTML_DIR = $(prefix)/share/doc/libgnet$(GNET_MAJOR_VERSION).$(GNET_MINOR_VERSION)-dev/html
++HTML_DIR = $(prefix)/share/doc/gnet-$(GNET_MAJOR_VERSION).$(GNET_MINOR_VERSION).$(GNET_MICRO_VERSION)/html
+
+ TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
+
diff --git a/net-libs/gnet/gnet-1.1.0.ebuild b/net-libs/gnet/gnet-1.1.0.ebuild
new file mode 100644
index 000000000000..646793b10e00
--- /dev/null
+++ b/net-libs/gnet/gnet-1.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Joshua Pierre <joshua@swool.com>
+# Maintainer: Mikael Hallendal <hallski@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/gnet-1.1.0.ebuild,v 1.1 2001/12/30 03:00:22 hallski Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNet network library."
+SRC_URI="http://www.gnetlibrary.org/src/${P}.tar.gz"
+HOMEPAGE="http://www.gnetlibrary.org/"
+
+DEPEND="virtual/glibc
+ >=dev-libs/glib-1.2.10"
+
+src_compile() {
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib || die
+
+ patch -p0 < ${FILESDIR}/gnet-docdir-gentoo.diff
+
+ emake || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ sysconfdir=${D}/etc \
+ localstatedir=${D}/var/lib \
+ install || die
+
+ dodoc AUTHORS BUGS ChangeLog COPYING NEWS README TODO
+}