summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core-testing/audiofile/PKGBUILD21
-rw-r--r--abs/core-testing/audiofile/aclocal-fixes.patch11
2 files changed, 32 insertions, 0 deletions
diff --git a/abs/core-testing/audiofile/PKGBUILD b/abs/core-testing/audiofile/PKGBUILD
new file mode 100644
index 0000000..63b7f46
--- /dev/null
+++ b/abs/core-testing/audiofile/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: dorphell <dorphell@archlinux.org>
+pkgname=audiofile
+pkgver=0.2.6
+pkgrel=3
+pkgdesc="Silicon Graphics Audio File Library"
+url="http://www.68k.org/~michael/audiofile/"
+arch=('i686')
+depends=(glibc)
+source=(http://www.68k.org/~michael/audiofile/audiofile-$pkgver.tar.gz
+ aclocal-fixes.patch)
+md5sums=(9c1049876cd51c0f1b12c2886cce4d42 a4c04c757d6b0a049c6fce6b64e9a17b)
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ find $startdir/pkg -name '*.la' -exec rm {} \;
+}
diff --git a/abs/core-testing/audiofile/aclocal-fixes.patch b/abs/core-testing/audiofile/aclocal-fixes.patch
new file mode 100644
index 0000000..ef4d258
--- /dev/null
+++ b/abs/core-testing/audiofile/aclocal-fixes.patch
@@ -0,0 +1,11 @@
+--- audiofile.m4.orig 2006-03-05 13:06:01.000000000 +0000
++++ audiofile.m4 2006-03-05 13:06:17.000000000 +0000
+@@ -9,7 +9,7 @@
+ dnl AM_PATH_AUDIOFILE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+ dnl Test for Audio File Library, and define AUDIOFILE_CFLAGS and AUDIOFILE_LIBS.
+ dnl
+-AC_DEFUN(AM_PATH_AUDIOFILE,
++AC_DEFUN([AM_PATH_AUDIOFILE],
+ [dnl
+ dnl Get compiler flags and libraries from the audiofile-config script.
+ dnl