wok view glew/receipt @ rev 14128

comical, cpu-g: move from undigest wok
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 28 09:47:02 2013 +0000 (2013-02-28)
parents 73641efed1cc
children de49f29b101e
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"
12 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
13 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \
14 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid"
15 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
16 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \
17 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \
18 libdrm-dev xorg-glproto mesa-dev libglu-mesa \
19 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
20 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
21 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make && make GLEW_DEST=$DESTDIR/usr install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }