aboutsummaryrefslogtreecommitdiffstats
path: root/community/sndio/APKBUILD
blob: c9add40579f64d38ba0dc08bb0d0efade792bdd8 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sndio
pkgver=1.6.0
pkgrel=0
pkgdesc="Small audio and MIDI framework part of the OpenBSD project"
url="http://www.sndio.org/"
arch="all"
license="ISC"
depends=""
makedepends="alsa-lib-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://www.sndio.org/sndio-$pkgver.tar.gz"
builddir="$srcdir/sndio-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}

sha512sums="32d668b5d50096cc2c5c29823c066475ceb06e394163d346697ceae853650cb407a77279c30f0fe703df894f19e8c818c1b8c0b84c17480cd54b25b6fc9fe3ce  sndio-1.6.0.tar.gz"