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

                                                 
              
        




                                                           
          
                                                               
                                       


                                                                 






                                               
                                             



            



                  


                                      
                                                                                                                                                                     
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mpg123
pkgver=1.25.13
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="2308a899f47eb0d17a603cb8a19ea07b1f338d85d9c2f798fb55732d77c603802e18b6ca0215cc59ccdd70fe89816c09fd16a6a91b1d1cd3834bd7877239cb39  mpg123-1.25.13.tar.bz2"