# Maintainer: Natanael Copa pkgname=mpg123 pkgver=1.16.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="169cfc32b32b5cae99212fe8e4347215 mpg123-1.16.0.tar.bz2" sha256sums="f00f72e385b522b8f05c9b1ed371abad438362620e6eb8164e2a99b79bb3f6d3 mpg123-1.16.0.tar.bz2" sha512sums="694a95d481bc9c19429f03d219685314e0363ecd65db3f4750c0ab2ff82cf5a090ed65b9037641315f1d7ad315a76bedcb0bb453440e842fab01e7fde28e4d51 mpg123-1.16.0.tar.bz2"