mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-30 05:41:21 +00:00
6cf0949e99
Makes it easy to port packages to other architectures.
18 lines
302 B
Plaintext
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
|