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

                                                 
             
        




                                                           
          
                                                               
                                       


                                                                 






                                               
                                             



            



                  


                                      
                                                                                                                                                                    
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mpg123
pkgver=1.26.2
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"
depends=""
makedepends="alsa-lib-dev libtool linux-headers pulseaudio-dev"
subpackages="$pkgname-dev $pkgname-doc"
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="aa63fcb08b243a1e09f7701b3d84a19d7412a87253d54d49f014fdb9e75bbc81d152a41ed750fccde901453929b2a001585a7645351b41845ad205c17a73dcc9  mpg123-1.26.2.tar.bz2"