aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsamplerate/APKBUILD
blob: 0ca34a286b962f79183931bee395227f63d1a412 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsamplerate
pkgver=0.1.7
pkgrel=3
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
url="http://www.mega-nerd.com/SRC/index.html"
subpackages="$pkgname-dev"
arch="x86 x86_64"
license="GPL"
depends=""
source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="6731a81cb0c622c483b28c0d7f90867d  libsamplerate-0.1.7.tar.gz"