blob: c8d3e9bfbea321d6badd8c43a7d27ebb4cddfe39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsamplerate
pkgver=0.1.8
pkgrel=0
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
url="http://www.mega-nerd.com/SRC/index.html"
subpackages="$pkgname-dev"
arch="all"
license="GPL"
depends=""
source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz"
build () {
cd "$srcdir"/$pkgname-$pkgver
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="1c7fb25191b4e6e3628d198a66a84f47 libsamplerate-0.1.8.tar.gz"
|