2014-02-28 21:19:02 +00:00
|
|
|
v="1.18.0"
|
|
|
|
url="$mirror/mpg123-$v.tar.bz2"
|
|
|
|
|
2014-02-27 12:41:37 +00:00
|
|
|
build: tinyalsa
|
2014-02-28 21:19:02 +00:00
|
|
|
cd src/mpg123-$v
|
2014-03-04 15:18:34 +00:00
|
|
|
case "$arch" in
|
|
|
|
x86_64)
|
2014-03-03 16:35:15 +00:00
|
|
|
A=x86-64
|
2014-03-04 15:18:34 +00:00
|
|
|
;;
|
|
|
|
i486)
|
2014-03-03 16:35:15 +00:00
|
|
|
A=x86
|
2014-03-04 15:18:34 +00:00
|
|
|
;;
|
|
|
|
esac
|
2014-02-27 12:41:37 +00:00
|
|
|
CC=$CC ./configure --prefix="$root" --with-default-audio=tinyalsa \
|
2014-03-03 16:35:15 +00:00
|
|
|
--enable-static=yes --enable-shared=no --with-cpu="$A"
|
2014-03-01 14:47:34 +00:00
|
|
|
make -j$nprocs
|
2014-02-28 23:45:56 +00:00
|
|
|
make install
|