wok-next view glew/receipt @ rev 19588

Update all the SliTaz projects (hosted on hg.slitaz.org).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 11:18:06 2017 +0200 (2017-01-21)
parents de49f29b101e
children 595097cb4e40
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 LICENSE="MIT BSD"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://glew.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
14 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \
15 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid"
16 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
17 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \
18 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \
19 libdrm-dev xorg-glproto mesa-dev libglu-mesa \
20 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
21 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
22 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 make && make GLEW_DEST=$DESTDIR/usr install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }