blob: 5bba0ae18ba8cb756d7b3d3b168792495470c9a0 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpg123
pkgver=1.22.4
pkgrel=0
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
url="http://sourceforge.net/projects/mpg123"
arch="all"
license="GPL2 LGPL2"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="libtool alsa-lib-dev linux-headers"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
options="libtool"
build() {
cd "$srcdir"/$pkgname-$pkgver
./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" \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
md5sums="2dfafae3bbc532b4c8b04a77c6a6de89 mpg123-1.22.4.tar.bz2"
sha256sums="5069e02e50138600f10cc5f7674e44e9bf6f1930af81d0e1d2f869b3c0ee40d2 mpg123-1.22.4.tar.bz2"
sha512sums="d8552b3522fa58647cee7c43227737993851452a15dc6d3ae6948c6c62d4a8f6064e2b284f170413aa3f805a3f3e1a6f1faac7d19daddd25c6790863e4925212 mpg123-1.22.4.tar.bz2"
|