summaryrefslogtreecommitdiff
path: root/community/hawknl
diff options
context:
space:
mode:
Diffstat (limited to 'community/hawknl')
-rw-r--r--community/hawknl/PKGBUILD36
-rw-r--r--community/hawknl/hawknl.patch27
2 files changed, 0 insertions, 63 deletions
diff --git a/community/hawknl/PKGBUILD b/community/hawknl/PKGBUILD
deleted file mode 100644
index f10df654a..000000000
--- a/community/hawknl/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 64750 2012-02-18 03:56:17Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor: Drew Desai <alerante@yahoo.com>
-# Contributor: Hugo Ideler <hugoideler@dse.nl>
-
-pkgname=hawknl
-pkgver=1.68
-pkgrel=3
-pkgdesc="An open source game oriented network API"
-arch=('i686' 'x86_64')
-url="http://www.hawksoft.com/hawknl/"
-license=('LGPL')
-depends=('glibc')
-source=(http://www.hawksoft.com/download/files/HawkNL${pkgver/\./}src.tar.gz
- $pkgname.patch)
-md5sums=('2e4971d422b8c5cadfe2a85527ff2fcf'
- 'a7e695ceeabb816ba147de563c61616f')
-
-build() {
- cd "$srcdir"/$pkgname$pkgver
-
- patch -Np0 -i ../$pkgname.patch
- make -f makefile.linux
- install -m755 -d "$pkgdir"/usr/{lib,include}
-}
-
-package() {
- cd "$srcdir"/$pkgname$pkgver
-
- make -f makefile.linux \
- LIBDIR="$pkgdir"/usr/lib \
- INCDIR="$pkgdir"/usr/include \
- OPTFLAGS="-D_GNU_SOURCE -D_REENTRANT" \
- install
-}
diff --git a/community/hawknl/hawknl.patch b/community/hawknl/hawknl.patch
deleted file mode 100644
index 193c54ea3..000000000
--- a/community/hawknl/hawknl.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/makefile.linux~ 2009-11-03 17:57:37.978184080 +0500
-+++ src/makefile.linux 2009-11-03 18:00:05.228169458 +0500
-@@ -37,20 +37,12 @@
- 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
-- @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)