wok-current view glew/receipt @ rev 11846

Down perl-compress-raw-bzip2 (2.049)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:31:57 2012 +0100 (2012-02-27)
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 }