wok-current view glew/receipt @ rev 15990

lua: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 13:49:46 2014 +0100 (2014-03-02)
parents 6b09507225ec
children 03b2309fd335
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 }