summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-01-07 02:35:00 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-01-07 02:35:00 +0000
commitdd51a64389f079397e531250505a739fab6ab001 (patch)
treef669383318902798a8cae2a770414d5454aa8183 /dev-games
parentversion bump (diff)
downloadgentoo-2-dd51a64389f079397e531250505a739fab6ab001.tar.gz
gentoo-2-dd51a64389f079397e531250505a739fab6ab001.tar.bz2
gentoo-2-dd51a64389f079397e531250505a739fab6ab001.zip
version bump
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/hawknl/ChangeLog7
-rw-r--r--dev-games/hawknl/Manifest6
-rw-r--r--dev-games/hawknl/files/digest-hawknl-1.681
-rw-r--r--dev-games/hawknl/hawknl-1.66.ebuild4
-rw-r--r--dev-games/hawknl/hawknl-1.68.ebuild56
5 files changed, 68 insertions, 6 deletions
diff --git a/dev-games/hawknl/ChangeLog b/dev-games/hawknl/ChangeLog
index e7b6ed0fadb9..16d666d07c52 100644
--- a/dev-games/hawknl/ChangeLog
+++ b/dev-games/hawknl/ChangeLog
@@ -1,6 +1,11 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/ChangeLog,v 1.2 2004/01/07 02:34:54 mr_bones_ Exp $
+
+*hawknl-1.68 (06 Jan 2004)
+
+ 06 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> hawknl-1.68.ebuild:
+ version bump
*HawkNL-1.66 (05 Sep 2003)
diff --git a/dev-games/hawknl/Manifest b/dev-games/hawknl/Manifest
index 43181afb687d..01066b087d33 100644
--- a/dev-games/hawknl/Manifest
+++ b/dev-games/hawknl/Manifest
@@ -1,6 +1,6 @@
-MD5 aebef359b5acc362cb63af22b8905bd2 ChangeLog 373
-MD5 1fbaceb5c93151b342a8849cf8e5d23e hawknl-1.66.ebuild 1040
+MD5 75bb89ab940def4074f1a52b29948f4f ChangeLog 495
+MD5 00e25843f489148b2aa408e8b500d6f4 hawknl-1.66.ebuild 1043
MD5 b704821d70b9e7b8956ec537e96cb567 metadata.xml 1049
-MD5 d933f87f33d44408b7fef7d7c7cfefda hawknl-1.68.ebuild 1113
+MD5 3fe8b2c89d672e875c3f8899a99894d9 hawknl-1.68.ebuild 1328
MD5 2039445f3163e3eceff4859a9f54d422 files/digest-hawknl-1.66 64
MD5 a28b47c48b93202babc367b1b9e48527 files/digest-hawknl-1.68 64
diff --git a/dev-games/hawknl/files/digest-hawknl-1.68 b/dev-games/hawknl/files/digest-hawknl-1.68
new file mode 100644
index 000000000000..d1b334e9ad18
--- /dev/null
+++ b/dev-games/hawknl/files/digest-hawknl-1.68
@@ -0,0 +1 @@
+MD5 2e4971d422b8c5cadfe2a85527ff2fcf HawkNL168src.tar.gz 181263
diff --git a/dev-games/hawknl/hawknl-1.66.ebuild b/dev-games/hawknl/hawknl-1.66.ebuild
index 712f229b0af3..04c4fb19420b 100644
--- a/dev-games/hawknl/hawknl-1.66.ebuild
+++ b/dev-games/hawknl/hawknl-1.66.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc., 2003 Richard Garand <richard@garandnet.net>
+# Copyright 1999-2004 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/hawknl-1.66.ebuild,v 1.2 2004/01/07 02:34:54 mr_bones_ Exp $
DESCRIPTION="A cross-platform network library designed for games"
HOMEPAGE="http://www.hawksoft.com/hawknl/"
diff --git a/dev-games/hawknl/hawknl-1.68.ebuild b/dev-games/hawknl/hawknl-1.68.ebuild
new file mode 100644
index 000000000000..a0bb017a0023
--- /dev/null
+++ b/dev-games/hawknl/hawknl-1.68.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 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.68.ebuild,v 1.1 2004/01/07 02:34:54 mr_bones_ 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"
+
+KEYWORDS="~x86 ~ppc"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc"
+
+DEPEND="virtual/glibc
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/hawknl${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ ln -s makefile.linux makefile
+
+ sed -i \
+ -e 's:make :$(MAKE) :g' makefile \
+ || die "sed makefile failed"
+
+ sed -i \
+ -e '/echo /d' src/makefile.linux \
+ || die "sed src/makefile.linux failed"
+}
+
+src_compile () {
+ emake \
+ CC=${CC} \
+ OPTFLAGS="${CFLAGS} -D_GNU_SOURCE -D_REENTRANT" || die "emake failed"
+}
+
+src_install () {
+ local reallib
+
+ dodir /usr/{include,lib}
+ make install LIBDIR="${D}/usr/lib" INCDIR="${D}/usr/include" \
+ || die "make install failed"
+ if [ `use doc` ] ; then
+ docinto samples
+ dodoc samples/* || die "dodoc failed"
+ fi
+
+ cd "${D}/usr/lib"
+ for f in *.so* ; do
+ [ ! -L ${f} ] && continue
+ reallib="$(basename $(readlink NL.so))"
+ ln -sf ${reallib} ${f}
+ done
+}