aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpg123/APKBUILD
blob: be895539e51ed67e06c4df9d215328001f710ae3 (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.0
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="33069bff83413824669c8ecb37e706d5  mpg123-1.22.0.tar.bz2"
sha256sums="25244c07dcb1df0a94092d94126c4172918739fe0e78faaaf97cf0b0fcc1a800  mpg123-1.22.0.tar.bz2"
sha512sums="b9ac9b95e2627949b32a4c3175e2ad1dda43986222750903e565696e03ef751ee545707ad081a5c06160d199ccae841c90d228082df4d9db841987e973ac5eda  mpg123-1.22.0.tar.bz2"