wok-stable annotate glew/receipt @ rev 6063
Add glew
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 22 10:52:54 2010 +0200 (2010-08-22) |
parents | |
children | b04abd30b007 |
rev | line source |
---|---|
pascal@6063 | 1 # SliTaz package receipt. |
pascal@6063 | 2 |
pascal@6063 | 3 PACKAGE="glew" |
pascal@6063 | 4 VERSION="1.5.5" |
pascal@6063 | 5 CATEGORY="x-window" |
pascal@6063 | 6 SHORT_DESC="The OpenGL Extension Wrangler Library." |
pascal@6063 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@6063 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@6063 | 9 WEB_SITE="http://glew.sourceforge.net/" |
pascal@6063 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6063 | 11 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
pascal@6063 | 12 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm libgl libglu \ |
pascal@6063 | 13 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE libuuid" |
pascal@6063 | 14 BUILD_DEPENDS="$DEPENDS libdrm-dev xorg-glproto \ |
pascal@6063 | 15 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ |
pascal@6063 | 16 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ |
pascal@6063 | 17 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev" |
pascal@6063 | 18 |
pascal@6063 | 19 # Rules to configure and make the package. |
pascal@6063 | 20 compile_rules() |
pascal@6063 | 21 { |
pascal@6063 | 22 cd $src |
pascal@6063 | 23 make && make GLEW_DEST=$PWD/_pkg/usr install |
pascal@6063 | 24 } |
pascal@6063 | 25 |
pascal@6063 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6063 | 27 genpkg_rules() |
pascal@6063 | 28 { |
pascal@6063 | 29 cp -a $_pkg/usr $fs |
pascal@6063 | 30 } |
pascal@6063 | 31 |