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

                                                 
              
        






                                                           
                                                               


                                                                 






                                               
                                             



            



                  


                                      
                                                                                                                                                                     
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mpg123
pkgver=1.25.12
pkgrel=0
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-dependency-tracking \
		--with-ipv6 \
		--with-pic \
		--with-audio="alsa,oss,pulse"
	make
}

check() {
	make check
}

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

sha512sums="fa3c719c68dbe45b265fd7677d0932b07f6a14e7ffe365ede965ff1637e655c4b57c86f7e4cd60cace7df5fcc93d48e0d44f082931394b7c6ef19f5d11638eff  mpg123-1.25.12.tar.bz2"