lib32/lib32-libsamplerate/PKGBUILD

37 lines
978 B
Bash
Raw Normal View History

2011-02-06 22:46:17 +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=libsamplerate
pkgname=lib32-$_pkgbasename
2012-09-10 06:02:27 +08:00
pkgver=0.1.8
2011-02-06 22:46:17 +08:00
pkgrel=1
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio (32-bit)"
arch=('x86_64')
url="http://www.mega-nerd.com/SRC/index.html"
license=('GPL')
depends=('lib32-libsndfile' $_pkgbasename=$pkgver)
2011-02-06 22:46:17 +08:00
makedepedns=('gcc-multilib')
options=('!libtool')
source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
2012-09-10 06:02:27 +08:00
md5sums=('1c7fb25191b4e6e3628d198a66a84f47')
2011-02-06 22:46:17 +08:00
build() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}