aboutsummaryrefslogblamecommitdiffstats
path: root/main/mpg123/APKBUILD
blob: 4a13dea81a1cb6036de97f5e57e257a05f2a2af3 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            




                                                                          
        














                                                                                       
                                                                
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpg123
pkgver=1.8.1
pkgrel=0
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
url="http://sourceforge.net/projects/mpg123"
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"

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
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="856893f14b29b1cddf4aba32469860b4  mpg123-1.8.1.tar.bz2"