commit a5e549fd6b0058ebab2b086bd1a1029440354a63 parent 24b4717b8a6c845a01ba421853a7e14633769c91 Author: sin <sin@2f30.org> Date: Wed, 19 Feb 2014 15:41:04 +0000 Add tinyalsa package Diffstat:
A | pkgs/tinyalsa | | | 24 | ++++++++++++++++++++++++ |
M | stage0 | | | 3 | ++- |
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/pkgs/tinyalsa b/pkgs/tinyalsa @@ -0,0 +1,24 @@ +url=$mirror/tinyalsa.tar.gz + +fetch() { + wget -c $url -O src/tinyalsa.tar.gz +} + +unpack() { + cd src + [ -d tinyalsa ] || tar xzf tinyalsa.tar.gz + cd - +} + +build() { + cd src/tinyalsa + make CC=x86_64-linux-musl-gcc || return 1 + cd - +} + +install() { + cd src/tinyalsa + cp tinycap tinymix tinypcminfo tinyplay "$root/bin" + cp libtinyalsa.a "$root/lib" + cd - +} diff --git a/stage0 b/stage0 @@ -32,6 +32,7 @@ packages="crossmusl tinywm xsetroot terminus - dwm" + dwm + tinyalsa" ./pkgbuild $packages