wok-next view glew/receipt @ rev 8940

arora, atm-tools, bird, bmpanel2, cgoban, djmount, dwm, echinus, fail2ban, fbida, fotoxx: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 17:06:27 2011 +0100 (2011-03-01)
parents 7750f7899797
children 73641efed1cc
line source
1 # SliTaz package receipt.
3 PACKAGE="glew"
4 VERSION="1.5.8"
5 CATEGORY="x-window"
6 SHORT_DESC="The OpenGL Extension Wrangler Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://glew.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
12 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \
13 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-ng-uuid"
14 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
15 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \
16 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-ng-uuid \
17 libdrm-dev xorg-glproto mesa-dev libglu-mesa \
18 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
19 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
20 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 make && make GLEW_DEST=$PWD/_pkg/usr install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }