blob: fe5f97a5f624d169e34e0ae0777b4da8b1240a29 (
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
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpg123
pkgver=1.25.6
pkgrel=0
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
url="http://www.mpg123.org/"
arch="all"
license="GPL2 LGPL2"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="libtool alsa-lib-dev linux-headers"
source="http://www.mpg123.org/download/$pkgname-$pkgver.tar.bz2"
options="libtool"
builddir="$srcdir"/$pkgname-$pkgver
check() {
cd "$builddir"
make check
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-dependency-tracking \
--with-ipv6 \
--with-pic \
--with-optimization=0 \
--with-cpu=i386_fpu \
--with-audio="alsa oss"
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="0b129c38c19462f7fbe3f56ea2b856222f8a1a3ba76ef8109ca759c9a9c668432cc0ec76059f9a7a3c37228ce615e4c628c7de3b1663073302cc7c8fc93f249c mpg123-1.25.6.tar.bz2"
|