wok-6.x view glew/receipt @ rev 24498
updated dovecot (2.3.9.2 -> 2.3.18)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 16:47:19 2022 +0100 (2022-02-19) |
parents | 7ac42eb35848 |
children | 7dd01dedad38 |
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 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - https://sourceforge.net/projects/glew/files/glew/ 2>/dev/null | \
29 sed '/scope="row/!d;s|.*/glew/||;s|/.*||;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 sed -i 's|uname -m|echo i486|' config/Makefile*
36 make -j 1 &&
37 make GLEW_DEST=/usr install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $src/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }