blob: 979565e6e0cbfb93983ec481b4255f7f4ef1b364 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpg123
pkgver=1.15.1
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="pkgconfig libtool alsa-lib-dev"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
options="libtool"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --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="3bb9441c5f4fa10c995b8e0bd84d5549 mpg123-1.15.1.tar.bz2"
sha256sums="c6ea4f4db28a66a7ad9f22f890ce10aa796f73ae03f864f3272070c46c088355 mpg123-1.15.1.tar.bz2"
sha512sums="035e068f546aeb3996d254115160e39e5564b7a17f6ae0b424e5b9d5fbc3c632a78b958495b6c511c839d49eaf3f361a6bb7b4b6108e4596153c824d98e00047 mpg123-1.15.1.tar.bz2"
|