aboutsummaryrefslogblamecommitdiffstats
path: root/main/libshout/APKBUILD
blob: 06fa1b1def5c5620067da23fe5af4131c9957bb0 (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=2
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 openssl1.1-compat-dev"
subpackages="$pkgname-static $pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/libshout/libshout-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

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"