aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpg123/APKBUILD
blob: 06d62698fe35c07740f551f45530978e4ffe867a (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.18.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="pkgconfig libtool alsa-lib-dev"
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="0e27ecbc5e48827ec5dd4d4f5fd8e64b  mpg123-1.18.0.tar.bz2"
sha256sums="45612282d585afbdf83267b0be477ca42d8a82d77a17af687f8fc1e371617cce  mpg123-1.18.0.tar.bz2"
sha512sums="52e8c1b5e15b9bbec85cdcd66f3eed96e83b2e04b28c2fa21489178db5460ae0e47bd389cfd975f194e4afff5ed22289c14d96d072b00c52a7479eb6b21f1d0c  mpg123-1.18.0.tar.bz2"