morpheus

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

commit 6268582e6eda4d5caf07bcf7ea98ba6446a0bb73
parent 5f7e47cff16d3d8e3dbc3ba99f5df0a5ebd420b7
Author: sin <sin@2f30.org>
Date:   Wed,  5 Mar 2014 16:31:56 +0000

Convert tinyalsa to an inline build

Diffstat:
Mpkgs/tinyalsa | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/pkgs/tinyalsa b/pkgs/tinyalsa @@ -1,9 +1,16 @@ url="$mirror/tinyalsa.tar.gz" build: crossmusl + set -x cd src/tinyalsa - make clean 2>/dev/null - make CC=$CC + $CC -c mixer.c -Iinclude $CFLAGS + $CC -c pcm.c -Iinclude $CFLAGS + ar -r -c libtinyalsa.a mixer.o pcm.o + ranlib libtinyalsa.a + $CC tinyplay.c -o tinyplay -Iinclude $CFLAGS -L. -ltinyalsa $LDFLAGS + $CC tinycap.c -o tinycap -Iinclude $CFLAGS -L. -ltinyalsa $LDFLAGS + $CC tinymix.c -o tinymix -Iinclude $CFLAGS -L. -ltinyalsa $LDFLAGS + $CC tinypcminfo.c -o tinypcminfo -Iinclude $CFLAGS -L. -ltinyalsa $LDFLAGS cp tinycap tinymix tinypcminfo tinyplay "$root/bin" cp libtinyalsa.a "$root/lib" cp -r include/tinyalsa "$root/include"