summaryrefslogtreecommitdiff
path: root/community/fmodex
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-29 02:13:48 -0800
committerroot <root@rshg054.dnsready.net>2012-12-29 02:13:48 -0800
commit5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch)
treef467412e09912ababcd8fe6c05193d829f514dcd /community/fmodex
parent3009e8addb4a894329bf8ab3e8fb763361833978 (diff)
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/fmodex')
-rw-r--r--community/fmodex/PERMISSION25
-rw-r--r--community/fmodex/PKGBUILD41
2 files changed, 66 insertions, 0 deletions
diff --git a/community/fmodex/PERMISSION b/community/fmodex/PERMISSION
new file mode 100644
index 000000000..be7e15ff8
--- /dev/null
+++ b/community/fmodex/PERMISSION
@@ -0,0 +1,25 @@
+Hi Sven,
+sounds ok to me.
+regards,
+
+Brett Paterson | CEO
+FMOD by Firelight Technologies Pty Ltd
+Interactive Audio Middleware | www.fmod.org
+PH: +61 3 96635947 Fax: +61 3 96635951
+
+
+-----Original Message-----
+From: Sven-Hendrik Haase [mailto:sh@lutzhaase.com]
+Sent: Thursday, 15 July 2010 9:51 AM
+To: sales@fmod.org
+Subject: Redistribution for Arch Linux
+
+ Hello,
+
+ I'm a packager for the Arch Linux project (http://www.archlinux.org) and
+ I would like to ask you for permission for redistributing FMOD in binary
+ form in our project. Arch Linux is a free operating system and is run
+ entirely by volunteers. There is no commercial context.
+
+ Regards,
+ Sven-Hendrik Haase
diff --git a/community/fmodex/PKGBUILD b/community/fmodex/PKGBUILD
new file mode 100644
index 000000000..8bb9b7e2c
--- /dev/null
+++ b/community/fmodex/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 80347 2012-11-20 11:44:56Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+
+# Note: This packae is proprietary and distribution is limited. However, we
+# have written permission to by the FMOD CEO to distribute this in binary form.
+pkgname=fmodex
+pkgver=4.44.01
+pkgrel=1
+pkgdesc="An advanced audio engine"
+arch=('i686' 'x86_64')
+url="http://www.fmod.org/"
+license=('custom')
+source=("http://www.fmod.org/index.php/release/version/fmodapi${pkgver//./}linux.tar.gz")
+md5sums=('3f32d8e74ac5cc6e581f7c32c71f4d20')
+
+build() {
+ cd fmodapi${pkgver//./}linux
+
+ mkdir -p ${pkgdir}/usr/lib
+ mkdir -p ${pkgdir}/usr/include/fmodex
+
+ cp -d api/lib/* ${pkgdir}/usr/lib/
+ [[ $CARCH == "i686" ]] && rm ${pkgdir}/usr/lib/*64*
+
+ if [[ $CARCH == "x86_64" ]]; then
+ cd ${pkgdir}/usr/lib
+ ln -sf libfmodex64-${pkgver}.so libfmodex-${pkgver}.so
+ ln -sf libfmodexL64-${pkgver}.so libfmodexL-${pkgver}.so
+ cd ${srcdir}/fmodapi${pkgver//./}linux
+ fi
+
+ cp api/inc/* ${pkgdir}/usr/include/fmodex/
+
+ install -Dm644 documentation/LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+ mkdir -p ${pkgdir}/usr/share/doc/fmodex
+ cp -r documentation examples ${pkgdir}/usr/share/doc/fmodex
+}
+
+# vim:set ts=2 sw=2 et: