glew: contrib -> opt

This commit is contained in:
Danny Rawlins 2012-07-14 11:28:53 +10:00
parent 68b6b6602c
commit da2e3bcb47
3 changed files with 30 additions and 0 deletions

13
glew/.footprint Normal file
View File

@ -0,0 +1,13 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/GL/
-rw-r--r-- root/root usr/include/GL/glew.h
-rw-r--r-- root/root usr/include/GL/glxew.h
-rw-r--r-- root/root usr/include/GL/wglew.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libGLEW.a
lrwxrwxrwx root/root usr/lib/libGLEW.so -> libGLEW.so.1.7.0
lrwxrwxrwx root/root usr/lib/libGLEW.so.1.7 -> libGLEW.so.1.7.0
-rw-r--r-- root/root usr/lib/libGLEW.so.1.7.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/glew.pc

1
glew/.md5sum Normal file
View File

@ -0,0 +1 @@
fb7a8bb79187ac98a90b57f0f27a3e84 glew-1.7.0.tgz

16
glew/Pkgfile Normal file
View File

@ -0,0 +1,16 @@
# Description: A OpenGL Extension Wrangler Library for developers to initialize extensions and write portable applications.
# URL: http://glew.sourceforge.net/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Johannes Winkelmann, jw at smts dot ch
# Depends on: mesa3d xorg-libxi xorg-libxmu
name=glew
version=1.7.0
release=3
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tgz)
build() {
cd $name-$version
make CC="${CC:-gcc}" LD="${CC:-gcc}" CFLAGS.EXTRA="$CFLAGS" LDFLAGS.EXTRA="$LDFLAGS"
make LIBDIR="$PKG/usr/lib" GLEW_DEST=$PKG/usr install
}