summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-06-07 21:17:36 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-06-07 21:19:16 +0300
commit0acd361d9fee5955a9173d5f1681e25430ea6fde (patch)
tree1d35d893f22f96f64d77df9dc2ebe2f922385eb4 /dev-games
parentnet-dns/mydns: treeclean (diff)
downloadgentoo-0acd361d9fee5955a9173d5f1681e25430ea6fde.tar.gz
gentoo-0acd361d9fee5955a9173d5f1681e25430ea6fde.tar.bz2
gentoo-0acd361d9fee5955a9173d5f1681e25430ea6fde.zip
dev-games/hawknl: treeclean
Closes: https://bugs.gentoo.org/909581 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/hawknl/Manifest1
-rw-r--r--dev-games/hawknl/files/hawknl-1.68-build.patch57
-rw-r--r--dev-games/hawknl/hawknl-1.68-r3.ebuild44
-rw-r--r--dev-games/hawknl/metadata.xml23
4 files changed, 0 insertions, 125 deletions
diff --git a/dev-games/hawknl/Manifest b/dev-games/hawknl/Manifest
deleted file mode 100644
index 21c353a529f4..000000000000
--- a/dev-games/hawknl/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST HawkNL168src.tar.gz 181263 BLAKE2B cbd16d6564782dc2a0a70ba875fbe64968063ac2fc2a4f9cd98f268c221d07e3ca0649cf27a6fcfd7735ed43e3e3adb634c1715f83f6bad2924239f79811cdf3 SHA512 52d518a19aaa8005e2e43a693571244a81a5a4450e2f92e6c0a64efb4b32ebfc3aff5d5b3ed09a3cdbee2e444d83067471ac714d7ae03d8cd78f905364c510f0
diff --git a/dev-games/hawknl/files/hawknl-1.68-build.patch b/dev-games/hawknl/files/hawknl-1.68-build.patch
deleted file mode 100644
index eb07d5cc1798..000000000000
--- a/dev-games/hawknl/files/hawknl-1.68-build.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- a/src/makefile.linux
-+++ b/src/makefile.linux
-@@ -1,6 +1,3 @@
--CC = gcc
--AR = ar cru
--RANLIB = ranlib
- MAJOR_VERSION = 1
- MINOR_VERSION = 6
- PATCH_LEVEL = 8
-@@ -11,15 +8,13 @@
- OUTPUT = libNL.so.$(VERSION)
- LIBNAME = NL
- 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
-+CPPFLAGS += -D_GNU_SOURCE -D_REENTRANT $(INCLUDE)
-+CFLAGS += -Wall -fPIC
-+LIBFLAGS = -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)
-- $(CC) -o $(OUTPUT) $(OBJECTS) $(LIBFLAGS) $(CFLAGS)
-- $(AR) $(STATIC) $(OBJECTS)
-- $(RANLIB) $(STATIC)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(OUTPUT) $(OBJECTS) $(LIBFLAGS)
-
- nl.o : nlinternal.h nl.c
- sock.o : nlinternal.h sock.h sock.c
-@@ -34,23 +29,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
- cp ../include/nl.h $(INCDIR)/nl.h
- chmod 644 $(INCDIR)/nl.h
-- @echo ""
-- @echo "*************************************************"
-- @echo "* Installed HawkNL. *"
-- @echo "* Remember to run /sbin/ldconfig before using *"
-- @echo "* the library, you may also want to check that *"
-- @echo "* $(LIBDIR) is included in /etc/ld.so.conf *"
-- @echo "* You must be root to run ldconfig. *"
-- @echo "*************************************************"
-
- uninstall:
- rm -f $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION)
diff --git a/dev-games/hawknl/hawknl-1.68-r3.ebuild b/dev-games/hawknl/hawknl-1.68-r3.ebuild
deleted file mode 100644
index 4011847e391d..000000000000
--- a/dev-games/hawknl/hawknl-1.68-r3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-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="examples"
-
-S="${WORKDIR}/${PN}${PV}"
-
-PATCHES=( "${FILESDIR}"/${P}-build.patch )
-
-src_configure() {
- tc-export CC
-
- # bug #855311
- append-flags -fno-strict-aliasing
- filter-lto
-}
-
-src_compile() {
- emake -C src -f makefile.linux
-}
-
-src_install() {
- emake -j1 -C src -f makefile.linux \
- LIBDIR="${ED}"/usr/$(get_libdir) \
- INCDIR="${ED}"/usr/include install
-
- dodoc src/{nlchanges.txt,readme.txt}
- if use examples; then
- docinto examples
- dodoc -r samples/.
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
diff --git a/dev-games/hawknl/metadata.xml b/dev-games/hawknl/metadata.xml
deleted file mode 100644
index c75aff8659cc..000000000000
--- a/dev-games/hawknl/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://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>