mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
extra/soundtouch to 1.8.0-1
This commit is contained in:
parent
25b3ffc17f
commit
4278ea1991
1 changed files with 9 additions and 6 deletions
|
@ -5,28 +5,31 @@
|
||||||
# - --with-pic for v6h/v7h
|
# - --with-pic for v6h/v7h
|
||||||
|
|
||||||
pkgname=soundtouch
|
pkgname=soundtouch
|
||||||
pkgver=1.7.1
|
pkgver=1.8.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="An audio processing library"
|
pkgdesc="An audio processing library"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.surina.net/soundtouch/"
|
url="http://www.surina.net/soundtouch/"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
options=('!libtool')
|
|
||||||
source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz)
|
source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz)
|
||||||
sha1sums=('8b1a461754853f9c7328571449b7f9b8bd578a89')
|
sha1sums=('2cee2c63194227b4a58da01a7cd92b8632f139cd')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd ${pkgname}
|
||||||
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}"
|
cd ${pkgname}
|
||||||
|
|
||||||
[ "${CARCH}" = "armv6h" -o "${CARCH}" = "armv7h" ] && CONFIGFLAG="--with-pic"
|
[ "${CARCH}" = "armv6h" -o "${CARCH}" = "armv7h" ] && CONFIGFLAG="--with-pic"
|
||||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
|
|
||||||
./bootstrap
|
./bootstrap
|
||||||
./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
|
./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}"
|
cd ${pkgname}
|
||||||
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
|
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue