aboutsummaryrefslogblamecommitdiffstats
path: root/main/libshout/APKBUILD
blob: 4a8f137f33672ce79655ad8cf61f98596c8592b7 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                
            
        
                                                          
                          
          
                      
                                                               
                                                       
                                                                            
 
         



                                 
                                   

                                      



                             
                  
 
 
           
                                      

 
                                                                                                                                                                    
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libshout
pkgver=2.4.5
pkgrel=0
pkgdesc="Library for accessing a shoutcast/icecast server"
url="https://icecast.org/"
arch="all"
license="GPL-2.0-only"
makedepends="speex-dev libtheora-dev libvorbis-dev openssl-dev"
subpackages="$pkgname-static $pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/libshout/libshout-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--with-openssl
	make LDFLAGS+=-lspeex
}

check() {
	make check
}

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

sha512sums="290844185da16961f03434d3e341573dd6cb0139e5fa81902903021b641382d2629302d7c356bc591b35656754e07f4e44a8d9e782e092b17a051b9ae8f54341  libshout-2.4.5.tar.gz"