wok view glew/receipt @ rev 22817

moserial: fix moserial.desktop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 04 18:51:57 2020 +0100 (2020-02-04)
parents 066eee29967a
children 932cd974e081
line source
1 # SliTaz package receipt.
3 PACKAGE="glew"
4 VERSION="2.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="The OpenGL Extension Wrangler Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT BSD"
9 WEB_SITE="http://glew.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
15 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \
16 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid"
17 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
18 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \
19 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \
20 libdrm-dev xorg-glproto mesa-dev libglu-mesa \
21 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
22 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
23 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|uname -m|echo i486|' config/Makefile*
29 make -j 1 &&
30 make GLEW_DEST=/usr install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $src/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }