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

                                                   
              
            
        

                                           
                 
               
        
                                       
                                                                      
         




                                     
                        
 
 


                                          
                                                                            

 
                                                               
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>

pkgname=libogg
pkgver=1.2.2
pkgrel=0
pkgdesc="Ogg bitstream and framing library"
url="http://xiph.org/ogg/"
arch="x86 x86_64"
license="as-is"
depends=
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make -j1 DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="5a9fcabc9a1b7c6f1cd75ddc78f36c56  libogg-1.2.2.tar.gz"