summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-06 03:29:47 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-06 03:29:47 +0000
commitee47687ea41b82e2c9f142d9a3471f42a37739ba (patch)
tree46c8c94f49abc384707aad56a9f92d0c276bf555 /dev-games
parentcase insentive cd matching #23935 (diff)
downloadgentoo-2-ee47687ea41b82e2c9f142d9a3471f42a37739ba.tar.gz
gentoo-2-ee47687ea41b82e2c9f142d9a3471f42a37739ba.tar.bz2
gentoo-2-ee47687ea41b82e2c9f142d9a3471f42a37739ba.zip
initial ebuild #25560
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/hawknl/ChangeLog8
-rw-r--r--dev-games/hawknl/files/digest-hawknl-1.661
-rw-r--r--dev-games/hawknl/hawknl-1.66.ebuild43
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-games/hawknl/ChangeLog b/dev-games/hawknl/ChangeLog
new file mode 100644
index 000000000000..e7b6ed0fadb9
--- /dev/null
+++ b/dev-games/hawknl/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-games/hawknl
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/ChangeLog,v 1.1 2003/09/06 03:29:47 vapier Exp $
+
+*HawkNL-1.66 (05 Sep 2003)
+
+ 05 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial ebuild. Submitted by Richard Garand <richard@garandnet.net> #25560.
diff --git a/dev-games/hawknl/files/digest-hawknl-1.66 b/dev-games/hawknl/files/digest-hawknl-1.66
new file mode 100644
index 000000000000..79de64bbfef0
--- /dev/null
+++ b/dev-games/hawknl/files/digest-hawknl-1.66
@@ -0,0 +1 @@
+MD5 a506fdd717665471a8bb457d539cc9ba HawkNL166src.tar.gz 176691
diff --git a/dev-games/hawknl/hawknl-1.66.ebuild b/dev-games/hawknl/hawknl-1.66.ebuild
new file mode 100644
index 000000000000..712f229b0af3
--- /dev/null
+++ b/dev-games/hawknl/hawknl-1.66.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc., 2003 Richard Garand <richard@garandnet.net>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/hawknl-1.66.ebuild,v 1.1 2003/09/06 03:29:47 vapier Exp $
+
+DESCRIPTION="A cross-platform network library designed for games"
+HOMEPAGE="http://www.hawksoft.com/hawknl/"
+SRC_URI="http://www.sonic.net/~philf/download/HawkNL${PV/./}src.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="doc"
+
+DEPEND="virtual/glibc"
+
+S=${WORKDIR}/hawknl
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ ln -s makefile.linux makefile
+}
+
+src_compile () {
+ make OPTFLAGS="${CFLAGS} -D_GNU_SOURCE -D_REENTRANT" || die
+}
+
+src_install () {
+ dodir /usr/{include,lib}
+ make install LIBDIR=${D}/usr/lib INCDIR=${D}/usr/include || die
+ if [ `use doc` ] ; then
+ docinto samples
+ dodoc samples/*
+ fi
+
+ cd ${D}/usr/lib
+ local reallib
+ for f in *.so* ; do
+ [ ! -L ${f} ] && continue
+ reallib="$(basename $(readlink NL.so))"
+ ln -sf ${reallib} ${f}
+ done
+}