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

                                                   

            
                                     
                                            
          

                                  

                          
                   
                          
                                                                  

         
                      



                                 

                                


           

                                      

 
                                                                                                                                                               
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glu
pkgver=9.0.1
pkgrel=0
pkgdesc="Mesa OpenGL Utility library"
url="https://cgit.freedesktop.org/mesa/glu/"
arch="all"
options="!check"  # No test suite.
license="SGI-B-1.1 AND SGI-B-2.0"
depends_dev="mesa-dev"
makedepends="$depends_dev"
replaces="mesa-glu"
subpackages="$pkgname-dev"
source="ftp://ftp.freedesktop.org/pub/mesa/glu/glu-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

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

sha512sums="8a6dae5b4bd63efb96d15f23ccda4ad9c2ffaa964897e5fa63d1e58360d8d4e6732c5efd2109dba04155d5fc457ab1718a65cf9b544ce0d452679ba988d04018  glu-9.0.1.tar.xz"