mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
35 lines
867 B
Bash
35 lines
867 B
Bash
# $Id: PKGBUILD 136035 2011-08-21 23:31:51Z eric $
|
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - --with-pic for v6h/v7h
|
|
|
|
pkgname=soundtouch
|
|
pkgver=1.9.2
|
|
pkgrel=1
|
|
pkgdesc="An audio processing library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.surina.net/soundtouch/"
|
|
license=('LGPL')
|
|
depends=('gcc-libs')
|
|
source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz)
|
|
sha1sums=('847be1bc987e410cc7349fdd83f353f4372534d1')
|
|
|
|
prepare() {
|
|
cd ${pkgname}
|
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}
|
|
|
|
[ "${CARCH}" = "armv6h" -o "${CARCH}" = "armv7h" ] && CONFIGFLAG="--with-pic"
|
|
./bootstrap
|
|
./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}
|
|
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
|
|
}
|