APKBUILD 762 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glu
Leo's avatar
Leo committed
3 4
pkgver=9.0.1
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5
pkgdesc="Mesa OpenGL Utility library"
6
url="https://cgit.freedesktop.org/mesa/glu/"
Natanael Copa's avatar
Natanael Copa committed
7
arch="all"
8 9
options="!check"  # No test suite.
license="SGI-B-1.1 AND SGI-B-2.0"
Natanael Copa's avatar
Natanael Copa committed
10 11
depends_dev="mesa-dev"
makedepends="$depends_dev"
12
replaces="mesa-glu"
Natanael Copa's avatar
Natanael Copa committed
13
subpackages="$pkgname-dev"
Leo's avatar
Leo committed
14
source="ftp://ftp.freedesktop.org/pub/mesa/glu/glu-$pkgver.tar.xz"
Natanael Copa's avatar
Natanael Copa committed
15 16

build() {
17
	cd "$builddir"
18 19 20 21
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
22 23
		--disable-static
	make
Natanael Copa's avatar
Natanael Copa committed
24 25 26
}

package() {
27 28
	cd "$builddir"
	make DESTDIR="$pkgdir" install
Natanael Copa's avatar
Natanael Copa committed
29 30
}

Leo's avatar
Leo committed
31
sha512sums="8a6dae5b4bd63efb96d15f23ccda4ad9c2ffaa964897e5fa63d1e58360d8d4e6732c5efd2109dba04155d5fc457ab1718a65cf9b544ce0d452679ba988d04018  glu-9.0.1.tar.xz"