morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit a5e549fd6b0058ebab2b086bd1a1029440354a63
parent 24b4717b8a6c845a01ba421853a7e14633769c91
Author: sin <sin@2f30.org>
Date:   Wed, 19 Feb 2014 15:41:04 +0000

Add tinyalsa package

Diffstat:
Apkgs/tinyalsa | 24++++++++++++++++++++++++
Mstage0 | 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