# Maintainer: Natanael Copa pkgname=mpg123 pkgver=1.25.8 pkgrel=0 pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3" url="http://www.mpg123.org/" arch="all" license="GPL2 LGPL2" subpackages="$pkgname-dev $pkgname-doc" depends="" makedepends="libtool alsa-lib-dev linux-headers" source="http://www.mpg123.org/download/$pkgname-$pkgver.tar.bz2" options="libtool" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./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" make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="f226317dddb07841a13753603fa13c0a867605a5a051626cb30d45cfba266d3d4296f5b8254f65b403bb5eef6addce1784ae8829b671a746854785cda1bad203 mpg123-1.25.8.tar.bz2"