wok view glew/receipt @ rev 20555

Up libgcrypt-dev (1.8.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 15:52:57 2018 +0100 (2018-12-12)
parents 03b2309fd335
children fccf1530eed7
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 sed -i 's|uname -m|echo i486|' config/Makefile*
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 }