wok-current view glew/receipt @ rev 25751
Up openssh 9.9p2 (CVE-2025-26465, CVE-2025-26466)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Feb 19 15:31:28 2025 +0000 (3 days ago) |
parents | 3ad63c8fc2f9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="glew"
4 VERSION="2.2.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="https://sourceforge.net/projects/glew/"
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 HOST_ARCH="i486 x86_64"
27 # What is the latest version available today?
28 current_version()
29 {
30 wget -O - https://sourceforge.net/projects/glew/files/glew/ 2>/dev/null | \
31 sed '/scope="row/!d;s|.*/glew/||;s|/.*||;q'
32 }
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 case $ARCH in
38 i?86)
39 sed -i 's|uname -m|echo i486|' config/Makefile* ;;
40 x86_64)
41 sed -i 's|uname -m|echo $ARCH|' config/Makefile* ;;
42 esac
44 make -j 1 &&
45 make GLEW_DEST=/usr install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib
52 cp -a $src/bin $fs/usr
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 }