aboutsummaryrefslogtreecommitdiffstats
path: root/community/sndio/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sndio/APKBUILD')
-rw-r--r--community/sndio/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/sndio/APKBUILD b/community/sndio/APKBUILD
new file mode 100644
index 00000000000..c9add40579f
--- /dev/null
+++ b/community/sndio/APKBUILD
@@ -0,0 +1,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"