summaryrefslogblamecommitdiff
path: root/user/mpg123/APKBUILD
blob: c9aca798820c1601521979f175559a1434486875 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                 
        






                                                           
                                                               










                                                                 
                                             













                                                                                                                                                                     
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mpg123
pkgver=1.25.10
pkgrel=1
pkgdesc="Real time MPEG Audio player for Layers 1, 2 and 3"
url="https://www.mpg123.org/"
arch="all"
options="libtool textrels"
license="LGPL-2.1-only"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="alsa-lib-dev libtool linux-headers pulseaudio-dev"
source="https://www.mpg123.org/download/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-dependency-tracking \
		--with-ipv6 \
		--with-pic \
		--with-audio="alsa,oss,pulse"
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a33666ae4aca7e7c1a93a6414d8c525ec19044c54f712d578180147d88e63033f7af2370b9ad22960cc3a0b454f15967b7a831cccc97e034c8855f70cdf1ab09  mpg123-1.25.10.tar.bz2"