mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
24 lines
774 B
Bash
24 lines
774 B
Bash
# Contributor: Jonathan Liu <net147@gmail.com>
|
|
pkgname=libresample
|
|
pkgver=0.1.3
|
|
pkgrel=2
|
|
pkgdesc="A real-time library for audio sampling rate conversion"
|
|
arch=('arm')
|
|
url="http://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html"
|
|
license=('LGPL2')
|
|
source=("http://ccrma.stanford.edu/~jos/gz/$pkgname-$pkgver.tgz"
|
|
"Makefile.in.patch")
|
|
md5sums=('99bc5ea15ef76b83e5655a10968f674b'
|
|
'9c18aec34f5e16baac888bd0926270e7')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
patch -Np1 -i "$srcdir/Makefile.in.patch" || return 1
|
|
./configure --prefix=/usr
|
|
make libresample.a || return 1
|
|
install -D -m644 include/libresample.h "$pkgdir/usr/include/libresample.h"
|
|
install -D -m644 libresample.a "$pkgdir/usr/lib/libresample.a"
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|