diff options
author | Ben Alex | 2015-06-10 13:47:57 +1000 |
---|---|---|
committer | Ben Alex | 2015-06-10 13:47:57 +1000 |
commit | 66608ebb55228c555676d8b3c09bd9556a0ea2b5 (patch) | |
tree | 41bd4799943179d43d606516a02126abad727045 | |
download | aur-66608ebb55228c555676d8b3c09bd9556a0ea2b5.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | LICENSE | 4 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | libnx.pc | 11 |
4 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4172fc7c2aa1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = libnx + pkgdesc = Nanex NxCore tape processing library + pkgver = 2.9.477 + pkgrel = 1 + url = http://nanex.net + arch = x86_64 + license = custom + makedepends = sed + depends = gcc-libs + source = LICENSE + source = libnx.pc + source = http://www.nanex.net/downloads/Linux/BETA/20141216.NxCoreAPIDU.tgz + md5sums = a6363119bc093d441db85bdf38c7b58e + md5sums = 98834a18dc623ec64cf3b965fa8ec6bd + md5sums = 3bd43ad96641781079ad80e50197d876 + +pkgname = libnx + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..d513ea955b4d --- /dev/null +++ b/LICENSE @@ -0,0 +1,4 @@ +COPYRIGHT 2003-2014(c) Nanex, LLC, Winnetka, IL. ALL RIGHTS RESERVED. +YOU MAY NOT TRANSMIT THE CONTENTS OF THESE FILES WITHOUT EXPRESS WRITTEN PERMISSION FROM NANEX, LLC. +THESE FILES CONTAIN CONFIDENTIAL INFORMATION. +SUPPORT: email: support@nanex.net diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ce7e746ab3a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Ben Alex <ben.alex@acegi.com.au> + +# See https://github.com/benalexau/libnx-aur for AUR PKGBUILD history + +pkgname=libnx +pkgver=2.9.477 +pkgrel=1 +pkgdesc='Nanex NxCore tape processing library' +arch=('x86_64') +url="http://nanex.net" +license=('custom') +depends=('gcc-libs') +makedepends=('sed') + +source=('LICENSE' + 'libnx.pc' + 'http://www.nanex.net/downloads/Linux/BETA/20141216.NxCoreAPIDU.tgz') +md5sums=('a6363119bc093d441db85bdf38c7b58e' + '98834a18dc623ec64cf3b965fa8ec6bd' + '3bd43ad96641781079ad80e50197d876') + +package() { + cd ${srcdir} + mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 libnx.pc ${pkgdir}/usr/lib/pkgconfig/libnx.pc + cd ${srcdir}/20141216.NxCoreAPIDU/NxCoreDU + sed -i 's/nxcore\/NxCoreAPIDU.h/NxCoreAPIDU.h/' NxCoreC.h + install -Dm644 NxCoreAPIDU.h ${pkgdir}/usr/include/NxCoreAPIDU.h + install -Dm644 NxCoreLoadLib.h ${pkgdir}/usr/include/NxCoreLoadLib.h + install -Dm644 NxCoreC.h ${pkgdir}/usr/include/NxCoreC.h + install -Dm644 NxCoreTableHelper.h ${pkgdir}/usr/include/NxCoreTableHelper.h + install -Dm644 libnx.so ${pkgdir}/usr/lib/libnx.so +} diff --git a/libnx.pc b/libnx.pc new file mode 100644 index 000000000000..fb273f34fca7 --- /dev/null +++ b/libnx.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libnx +Description: Nanex NxCore tape processing library +Version: 2.9.472 +Libs: -L${libdir} -lnx +Libs.private: -ldl +Cflags: -I${includedir} |