# Maintainer: Natanael Copa pkgname=mpg123 pkgver=1.25.4 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 check() { cd "$builddir" make check } 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 } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="aea1f225f6addfea8a22cbe020f3216531b8e988d11cf5d588733e7ce22c03d4649df5ae3f596a0e15507e1d9f2c83a16a71affb479dd4156d270b0d23c2f072 mpg123-1.25.4.tar.bz2"