diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-games/hawknl |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-games/hawknl')
-rw-r--r-- | dev-games/hawknl/Manifest | 6 | ||||
-rw-r--r-- | dev-games/hawknl/files/hawknl-1.68-build.patch | 32 | ||||
-rw-r--r-- | dev-games/hawknl/hawknl-1.68-r2.ebuild | 39 | ||||
-rw-r--r-- | dev-games/hawknl/metadata.xml | 23 |
4 files changed, 100 insertions, 0 deletions
diff --git a/dev-games/hawknl/Manifest b/dev-games/hawknl/Manifest new file mode 100644 index 000000000000..00be6041ddac --- /dev/null +++ b/dev-games/hawknl/Manifest @@ -0,0 +1,6 @@ +AUX hawknl-1.68-build.patch 1538 SHA256 57650e91bdfc190df3b7f37b9f38491bc72b5698758ce54dc473941570a5e61e SHA512 c3bce38bd43987dbe2707c7ab0f13f36689f322e15b9ef7c9bba4d39bae30f2f4992593d74ee11a97c0367eabda42e6d3af84f0821062c0f984dbaea0066467a WHIRLPOOL e143add22db758ef6126739977809cf180a6d5028839fff403175df7095c689bc3159316123b8f76663803f1932b208eec3113fb738f37f404eff607d679a031 +DIST HawkNL168src.tar.gz 181263 SHA256 31a2883dbfe02937c9c862bb1aac0b89e465bbab822513c06bffa3f13e4c3c2e SHA512 52d518a19aaa8005e2e43a693571244a81a5a4450e2f92e6c0a64efb4b32ebfc3aff5d5b3ed09a3cdbee2e444d83067471ac714d7ae03d8cd78f905364c510f0 WHIRLPOOL c47fac6b08d06be3bc94f341471a6a57767d5de4d25598bac6e715552730463f059e07bce8d56289e0569511c2a9da33ee73e3d0c53d00e174f972da8736d3f1 +EBUILD hawknl-1.68-r2.ebuild 853 SHA256 f8d9450af607cf8fbb5578bb63d2e0e0661c43c45b8ad706ddc8a68ebc2e5868 SHA512 5749a3bb03b77a857ab79eaf8d65307aa9c12a2bb18319a63dd87d20f63d1dd059aefb3df9ee984c44add2c89cc13d248c3fd83033006be3b7e2a7173e123e27 WHIRLPOOL 87fa538ca6a9dbda89666cb18b4ece4b8b5660c81346adb25830237600972268bfb2ce94827fdf7761927a3d9c8f85bb99ee753a5212bf94941a89816c5b1ded +MISC ChangeLog 2461 SHA256 9c6a5cfb8adf084be9068b4e81917fb2c1e93d6d99e3aaf477836d744ba296a5 SHA512 488b9737bb908ceeefb6f74e15e05f0a8db09fe135451e45dc0f930d020df256fd76e6af9fa5aae636518f6be72269fe610a8ec204f9d9ae181a9ee5ab756395 WHIRLPOOL bdb01ea650d2268a7da2e7e616aa4598c5631afb92efebf79ebc46b744d9179fe03a592023b0f0c78ec5a4bb6358c2cb6578a712c843f293da4694c487a849f7 +MISC ChangeLog-2015 2626 SHA256 3cac0f28d3d4b41e1e26cdd430f05b5c764861342d3f1e7ce32daf628129beb4 SHA512 d28343a6efc5652546af104d83f6b6778868acc7b40d3d24db910017ac016fc8f327cac1628a80a25d1c4e080b014dc451ae05c8cc20eb370ef253769ed0f911 WHIRLPOOL b1c9ee94abc7b76280def48241698090d6f900e12ba42f4d8b08c04216832b6fe7d7012008cbc0084a5271ded36a6933a2fe377ed804f2e00391e44f249987c6 +MISC metadata.xml 1140 SHA256 a0f48ce6fe005abcd3b55c61544e993cd9165c99492c874cbaeeeb5acf2ff14e SHA512 088f17589d2c28f7673b68de696fab59559d1074092b804d72550cfd591094fdaf487250928092cf926e90c7699780145d07c49c1132d472b99a3c6caeec7381 WHIRLPOOL b4d238e7b21bab2ed57ebe7fa250aa22724ebaa102b46974b344bb258e6a63210217b1477744afa29f1b01dbe626a654f738ffe70c79ade75046589e34a403ec diff --git a/dev-games/hawknl/files/hawknl-1.68-build.patch b/dev-games/hawknl/files/hawknl-1.68-build.patch new file mode 100644 index 000000000000..d94daaaf6d88 --- /dev/null +++ b/dev-games/hawknl/files/hawknl-1.68-build.patch @@ -0,0 +1,32 @@ +--- src/makefile.linux.orig 2005-12-16 22:03:24.000000000 -0500 ++++ src/makefile.linux 2005-12-16 22:04:18.000000000 -0500 +@@ -34,13 +34,14 @@ + nltime.o : nlinternal.h nltime.c
+
+ install:
++ mkdir -p $(LIBDIR) $(INCDIR) ; chmod 755 $(LIBDIR) $(INCDIR) + cp $(OUTPUT) $(LIBDIR)
+ cp $(STATIC) $(LIBDIR)
+ chmod 755 $(LIBDIR)/$(OUTPUT)
+- ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION)
+- ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION)
+- ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so
+- ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/$(LIBNAME).so
++ ln -s $(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION)
++ ln -s $(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION)
++ ln -s $(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so
++ ln -s $(OUTPUT) $(LIBDIR)/$(LIBNAME).so
+ cp ../include/nl.h $(INCDIR)/nl.h
+ chmod 644 $(INCDIR)/nl.h
+
+--- src/makefile.linux.old 2010-09-10 09:44:53.000000000 +0200 ++++ src/makefile.linux 2010-09-10 09:45:09.000000000 +0200 +@@ -13,7 +13,7 @@ + STATIC = libNL.a
+ OPTFLAGS = -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 -D_GNU_SOURCE -D_REENTRANT
+ CFLAGS = -Wall -fPIC $(INCLUDE) $(OPTFLAGS)
+-LIBFLAGS = -shared -Wl,-soname,NL.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic -lpthread
++LIBFLAGS = ${LDFLAGS} -shared -Wl,-soname,libNL.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic -lpthread
+ OBJECTS = crc.o errorstr.o nl.o sock.o group.o loopback.o err.o thread.o mutex.o condition.o nltime.o
+
+ all: $(OBJECTS)
diff --git a/dev-games/hawknl/hawknl-1.68-r2.ebuild b/dev-games/hawknl/hawknl-1.68-r2.ebuild new file mode 100644 index 000000000000..ff46abad3e7a --- /dev/null +++ b/dev-games/hawknl/hawknl-1.68-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs eutils multilib + +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="amd64 hppa x86" +IUSE="doc" + +RDEPEND="" +DEPEND="" + +S=${WORKDIR}/hawknl${PV} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + sed -i\ -e '/echo /d' src/makefile.linux || die +} + +src_compile() { + emake -C src -f makefile.linux \ + CC="$(tc-getCC)" \ + OPTFLAGS="${CFLAGS} -D_GNU_SOURCE -D_REENTRANT" +} + +src_install() { + emake -j1 -C src -f makefile.linux \ + LIBDIR="${D}/usr/$(get_libdir)" \ + INCDIR="${D}/usr/include" install + if use doc ; then + dodoc -r samples + fi +} diff --git a/dev-games/hawknl/metadata.xml b/dev-games/hawknl/metadata.xml new file mode 100644 index 000000000000..20b595958d04 --- /dev/null +++ b/dev-games/hawknl/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +<longdescription> +HawkNL is a free, open source, game oriented network API released under +the GNU Library General Public License (LGPL). HawkNL (NL) is a fairly +low level API, a wrapper over Berkeley/Unix Sockets and Winsock. But NL +also provides other features including support for many OSs, groups of +sockets, socket statistics, high accuracy timer, CRC functions, macros +to read and write data to packets with endian conversion, and support +for multiple network transports. NL has been tested on Windows +9x/ME/NT/2000/XP/CE, Linux, Solaris, IRIX, AIX, BSDs, MacOS 7-9 and +MacOS X. There are also the two high level APIs, HawkNLU(tm) (NLU) +and HawkVoice(tm), which are built on top of NL. It is NLU and +HawkVoice(tm) that are most exciting, since they give developers +portable, easy to use alternatives to Microsoft®'s DirectPlay® and +DirectPlay® Voice. +</longdescription> +</pkgmetadata> |