summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-29 10:52:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-29 10:52:33 +0000
commitfbd071362fc12cac383c12b69c553cea5189ece5 (patch)
tree2e3d1f8e6589a06049d9b45ccabe35b19d27a5ff /dev-games/hawknl
parentQA: inherit kde-base -> inherit kde (Manifest recommit) (diff)
downloadgentoo-2-fbd071362fc12cac383c12b69c553cea5189ece5.tar.gz
gentoo-2-fbd071362fc12cac383c12b69c553cea5189ece5.tar.bz2
gentoo-2-fbd071362fc12cac383c12b69c553cea5189ece5.zip
virtual/glibc -> virtual/libc; use preplib to address bug #55349
Diffstat (limited to 'dev-games/hawknl')
-rw-r--r--dev-games/hawknl/ChangeLog7
-rw-r--r--dev-games/hawknl/Manifest5
-rw-r--r--dev-games/hawknl/files/digest-hawknl-1.68-r11
-rw-r--r--dev-games/hawknl/hawknl-1.68-r1.ebuild61
4 files changed, 71 insertions, 3 deletions
diff --git a/dev-games/hawknl/ChangeLog b/dev-games/hawknl/ChangeLog
index 8f7e5c7681b5..009ff292a97a 100644
--- a/dev-games/hawknl/ChangeLog
+++ b/dev-games/hawknl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/hawknl
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/ChangeLog,v 1.4 2004/06/24 22:11:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/ChangeLog,v 1.5 2004/06/29 10:52:33 mr_bones_ Exp $
+
+*hawknl-1.68-r1 (29 Jun 2004)
+
+ 29 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> +hawknl-1.68-r1.ebuild:
+ virtual/glibc -> virtual/libc; use preplib to address bug #55349
*hawknl-1.66 (02 Jun 2004)
diff --git a/dev-games/hawknl/Manifest b/dev-games/hawknl/Manifest
index 904a11ce084c..ed5cd2cead1a 100644
--- a/dev-games/hawknl/Manifest
+++ b/dev-games/hawknl/Manifest
@@ -1,6 +1,7 @@
-MD5 0109c0953f22c49761f5e87edb5d0339 hawknl-1.68.ebuild 1360
-MD5 5c2005f73e2fd5ac40cff971e1a6fb5c hawknl-1.66.ebuild 1027
MD5 1a222060a059913b0a7f7a2b44a8ef7e ChangeLog 627
+MD5 5c2005f73e2fd5ac40cff971e1a6fb5c hawknl-1.66.ebuild 1027
MD5 b704821d70b9e7b8956ec537e96cb567 metadata.xml 1049
+MD5 5d83dc97917600531fdde0766af2619b hawknl-1.68-r1.ebuild 1370
MD5 2039445f3163e3eceff4859a9f54d422 files/digest-hawknl-1.66 64
MD5 a28b47c48b93202babc367b1b9e48527 files/digest-hawknl-1.68 64
+MD5 a28b47c48b93202babc367b1b9e48527 files/digest-hawknl-1.68-r1 64
diff --git a/dev-games/hawknl/files/digest-hawknl-1.68-r1 b/dev-games/hawknl/files/digest-hawknl-1.68-r1
new file mode 100644
index 000000000000..d1b334e9ad18
--- /dev/null
+++ b/dev-games/hawknl/files/digest-hawknl-1.68-r1
@@ -0,0 +1 @@
+MD5 2e4971d422b8c5cadfe2a85527ff2fcf HawkNL168src.tar.gz 181263
diff --git a/dev-games/hawknl/hawknl-1.68-r1.ebuild b/dev-games/hawknl/hawknl-1.68-r1.ebuild
new file mode 100644
index 000000000000..7caad924fa22
--- /dev/null
+++ b/dev-games/hawknl/hawknl-1.68-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Foundation, 2004 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-r1.ebuild,v 1.1 2004/06/29 10:52:33 mr_bones_ Exp $
+
+inherit gcc
+
+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 hppa amd64"
+IUSE="doc"
+
+RDEPEND="virtual/libc"
+DEPEND="${RDEPEND}
+ >=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="$(gcc-getCC)" \
+ 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
+ preplib
+}