lib32/lib32-audiofile/PKGBUILD

36 lines
956 B
Bash
Raw Normal View History

2011-01-16 18:21:35 +08:00
# 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
2012-01-27 17:53:03 +08:00
pkgver=0.3.2
pkgrel=1
2011-01-16 18:21:35 +08:00
pkgdesc="Silicon Graphics Audio File Library (32-bit)"
arch=('x86_64')
url="http://www.68k.org/~michael/audiofile/"
license=('LGPL')
2012-01-27 17:53:03 +08:00
depends=('lib32-glibc' 'lib32-alsa-lib' $_pkgbasename)
2011-01-16 18:21:35 +08:00
makedepends=(gcc-multilib)
options=('!libtool')
2012-01-27 17:53:03 +08:00
source=(http://audiofile.68k.org/${_pkgbasename}-$pkgver.tar.gz)
md5sums=('cb2c4fe6e899e688ffe5d1568581cb63')
2011-01-16 18:21:35 +08:00
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}
}