New package: glew19-1.9.0

This commit is contained in:
Enno Boland 2014-10-04 20:48:18 +02:00
parent b69a5ffcfe
commit 2eb1340649
3 changed files with 36 additions and 1 deletions

View File

@ -1771,4 +1771,4 @@ libwraster.so.5 WindowMaker-0.95.6_3
libWUtil.so.5 WindowMaker-0.95.6_3
libWINGs.so.3 WindowMaker-0.95.6_3
libWMaker.so.1 WindowMaker-0.95.6_3
libGLEW.so.1.9 glew19-1.9.0_1

1
srcpkgs/glew19-devel Symbolic link
View File

@ -0,0 +1 @@
glew19

34
srcpkgs/glew19/template Normal file
View File

@ -0,0 +1,34 @@
# Template build file for 'glew19'.
pkgname=glew19
version=1.9.0
revision=1
hostmakedepends="pkg-config"
makedepends="libXext-devel libXmu-devel libXi-devel MesaLib-devel"
short_desc="The OpenGL Extension Wrangler Library (1.9 branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://glew.sourceforge.net"
license="BSD, MIT, GPL-2"
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
checksum=9b36530e414c95d6624be9d6815a5be1531d1986300ae5903f16977ab8aeb787
wrksrc=glew-${version}
do_build() {
sed -i -e "s|lib64|lib|" config/Makefile.linux
make CFLAGS.EXTRA="-fPIC $CFLAGS" LDFLAGS.EXTRA="$LDFLAGS" ${makejobs}
}
do_install() {
make GLEW_DEST=${DESTDIR}/usr install
}
glew19-devel_package() {
conflicts="glew-devel"
depends="glew19-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}