1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-27 13:58:32 +00:00
morpheus/pkgs/mpg123
sin 6cf0949e99 Use a case statement instead of if/else
Makes it easy to port packages to other architectures.
2014-03-04 15:18:34 +00:00

18 lines
302 B
Plaintext

v="1.18.0"
url="$mirror/mpg123-$v.tar.bz2"
build: tinyalsa
cd src/mpg123-$v
case "$arch" in
x86_64)
A=x86-64
;;
i486)
A=x86
;;
esac
CC=$CC ./configure --prefix="$root" --with-default-audio=tinyalsa \
--enable-static=yes --enable-shared=no --with-cpu="$A"
make -j$nprocs
make install