glew: rebuild against glu-9.0.

This commit is contained in:
Juan RP 2012-10-09 11:00:38 +02:00
parent f527f2b98d
commit a0465dbca6
2 changed files with 12 additions and 17 deletions

View file

@ -1,17 +1,14 @@
# Template file for 'glew-devel'.
#
depends="glew"
depends="glew-${version}_${revision}"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

View file

@ -1,13 +1,13 @@
# Template build file for 'glew'.
pkgname=glew
version=1.6.0
revision=3
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
makedepends="pkg-config libXmu-devel libXi-devel MesaLib-devel libXext-devel libX11-devel"
revision=4
makedepends="pkg-config libXmu-devel libXi-devel glu-devel libXext-devel libX11-devel"
short_desc="The OpenGL Extension Wrangler Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://glew.sourceforge.net"
license="BSD, MIT, GPL-2"
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
checksum=bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa
long_desc="
FTGL is a free cross-platform Open Source C++ library that uses Freetype2
@ -17,17 +17,15 @@ long_desc="
subpackages="glew-devel"
do_build()
{
do_build() {
sed -i -e "s|lib64|lib|" config/Makefile.linux
make ${makejobs}
}
do_install()
{
do_install() {
make GLEW_DEST=${DESTDIR}/usr install
chmod 755 ${DESTDIR}/usr/lib/libGLEW.so*
rm -f ${DESTDIR}/usr/lib/*.a
}