morpheus

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

commit 128b5d92ce3659b207d3cc5966106eda661d15b6
parent b39c1c7ec040ddbc86ae793eda84102885f9af03
Author: sin <sin@2f30.org>
Date:   Wed Feb 19 15:52:54 +0000

Add mpg123 package

Diffstat:
pkgs/mpg123 | 25+++++++++++++++++++++++++
stage0 | 3++-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/pkgs/mpg123 b/pkgs/mpg123 @@ -0,0 +1,25 @@ +url=$mirror/mpg123-1.18.0.tar.bz2 + +fetch() { + wget -c $url -O src/mpg123-1.18.0.tar.bz2 +} + +unpack() { + cd src + [ -d mpg123-1.18.0 ] || tar xjf mpg123-1.18.0.tar.bz2 + cd - +} + +build() { + cd src/mpg123-1.18.0 + CC=x86_64-linux-musl-gcc ./configure --prefix="$root" --with-default-audio=tinyalsa \ + CFLAGS="-I$libcroot/include" LDFLAGS="-L$libcroot/lib -static" || return 1 + make || return 1 + cd - +} + +install() { + cd src/mpg123-1.18.0 + make install || return 1 + cd - +} diff --git a/stage0 b/stage0 @@ -10,6 +10,7 @@ packages="crossmusl libevent zlib tinyxlib + tinyalsa kernel kernel-headers emul @@ -33,6 +34,6 @@ packages="crossmusl xsetroot terminus dwm - tinyalsa" + mpg123" ./pkgbuild $packages