# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
setvar pkgname = 'glproto'
setvar pkgver = '1.4.17'
setvar pkgrel = '2'
setvar pkgdesc = ""X11 OpenGL extension wire protocol""
setvar url = ""http://xorg.freedesktop.org/""
setvar arch = ""noarch""
setvar license = ""custom""
setvar options = ""!check""  # No test suite.
setvar depends = """"
setvar makedepends = ""util-macros""
setvar source = ""http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2""

proc build {
	cd $builddir
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

proc package {
	cd $builddir
	make DESTDIR="$pkgdir" install
}
setvar md5sums = ""5565f1b0facf4a59c2778229c1f70d10  glproto-1.4.17.tar.bz2""
setvar sha256sums = ""adaa94bded310a2bfcbb9deb4d751d965fcfe6fb3a2f6d242e2df2d6589dbe40  glproto-1.4.17.tar.bz2""
setvar sha512sums = ""3e5bb1949ab9993e07d2ed7e829b9e0a8803eab476e9f4082fc01087c3dce01f3bcb9d55261eaf60e55977a689b326ed1dcf40f74d5e1fc660c83bea094b6754  glproto-1.4.17.tar.bz2""