blob: d83f9cd837e9187f38be4015b2e27e4a91a5c82f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
NAME="mpg123"
DESC="Console-based MPEG Audio Player for Layers 1, 2 and 3"
MAKEDEPS="libtool alsa-lib linux-headers"
PKG_VER=1.29.3
SOURCE="https://www.mpg123.org/download/mpg123-$PKG_VER.tar.bz2"
build() {
./configure \
--prefix=/usr \
--disable-dependency-tracking \
--with-pic \
--with-optimization=0 \
--with-cpu=i386_fpu \
--with-audio="alsa oss"
make
}
check() {
make check
}
package() {
# Installation is not parallel friendly and will fail
# sometimes
make -j1 DESTDIR="$PKG_DEST" install
}
|