diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-06-29 10:52:33 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-06-29 10:52:33 +0000 |
commit | 542f177b2ba027496be88a0d3af4e0998ae135d1 (patch) | |
tree | abfd8c6fb4dc496887f3c882b6b2fdb08a2260d5 /dev-games/hawknl | |
parent | QA: inherit kde-base -> inherit kde (diff) | |
download | historical-542f177b2ba027496be88a0d3af4e0998ae135d1.tar.gz historical-542f177b2ba027496be88a0d3af4e0998ae135d1.tar.bz2 historical-542f177b2ba027496be88a0d3af4e0998ae135d1.zip |
virtual/glibc -> virtual/libc; use preplib to address bug #55349
Diffstat (limited to 'dev-games/hawknl')
-rw-r--r-- | dev-games/hawknl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-games/hawknl/Manifest | 6 | ||||
-rw-r--r-- | dev-games/hawknl/files/digest-hawknl-1.68-r1 | 1 | ||||
-rw-r--r-- | dev-games/hawknl/hawknl-1.68-r1.ebuild | 61 |
4 files changed, 72 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..d51b03274362 100644 --- a/dev-games/hawknl/Manifest +++ b/dev-games/hawknl/Manifest @@ -1,6 +1,8 @@ -MD5 0109c0953f22c49761f5e87edb5d0339 hawknl-1.68.ebuild 1360 +MD5 6420d974391236f52141c521b4cc58ca ChangeLog 806 MD5 5c2005f73e2fd5ac40cff971e1a6fb5c hawknl-1.66.ebuild 1027 -MD5 1a222060a059913b0a7f7a2b44a8ef7e ChangeLog 627 MD5 b704821d70b9e7b8956ec537e96cb567 metadata.xml 1049 +MD5 7c59d4881b74d07b708ddc1160f2b7c4 hawknl-1.68-r1.ebuild 1378 +MD5 0109c0953f22c49761f5e87edb5d0339 hawknl-1.68.ebuild 1360 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 +} |