wok-current view glew/receipt @ rev 21738
clementine: added libatomic to BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 17:49:58 2019 +0100 (2019-06-13) |
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 }