lib32/lib32-audiofile/PKGBUILD
2012-01-27 09:53:03 +00:00

36 lines
956 B
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=audiofile
pkgname=lib32-$_pkgbasename
pkgver=0.3.2
pkgrel=1
pkgdesc="Silicon Graphics Audio File Library (32-bit)"
arch=('x86_64')
url="http://www.68k.org/~michael/audiofile/"
license=('LGPL')
depends=('lib32-glibc' 'lib32-alsa-lib' $_pkgbasename)
makedepends=(gcc-multilib)
options=('!libtool')
source=(http://audiofile.68k.org/${_pkgbasename}-$pkgver.tar.gz)
md5sums=('cb2c4fe6e899e688ffe5d1568581cb63')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/${_pkgbasename}-${pkgver}"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}