wok-6.x annotate glew/receipt @ rev 24418
clamtk: replaced perl-gtk2 by perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:25:31 2022 +0100 (2022-02-11) |
parents | 7ac42eb35848 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@6063 | 1 # SliTaz package receipt. |
pascal@6063 | 2 |
pascal@6063 | 3 PACKAGE="glew" |
Hans-G?nter@20970 | 4 VERSION="2.1.0" |
pascal@6063 | 5 CATEGORY="x-window" |
pascal@6063 | 6 SHORT_DESC="The OpenGL Extension Wrangler Library." |
pascal@6063 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="MIT BSD" |
Hans-G?nter@20970 | 9 WEB_SITE="http://glew.sourceforge.net/" |
Hans-G?nter@20970 | 10 |
pascal@6063 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@6063 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13796 | 13 |
pascal@6063 | 14 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
Hans-G?nter@20970 | 15 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \ |
Hans-G?nter@20970 | 16 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid" |
pascal@6110 | 17 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
Hans-G?nter@20970 | 18 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \ |
Hans-G?nter@20970 | 19 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \ |
Hans-G?nter@20970 | 20 libdrm-dev xorg-glproto mesa-dev libglu-mesa \ |
Hans-G?nter@20970 | 21 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ |
Hans-G?nter@20970 | 22 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ |
Hans-G?nter@20970 | 23 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev" |
pascal@6063 | 24 |
pascal@24403 | 25 # What is the latest version available today? |
pascal@24403 | 26 current_version() |
pascal@24403 | 27 { |
pascal@24403 | 28 wget -O - https://sourceforge.net/projects/glew/files/glew/ 2>/dev/null | \ |
pascal@24403 | 29 sed '/scope="row/!d;s|.*/glew/||;s|/.*||;q' |
pascal@24403 | 30 } |
pascal@24403 | 31 |
pascal@6063 | 32 # Rules to configure and make the package. |
pascal@6063 | 33 compile_rules() |
pascal@6063 | 34 { |
pascal@20212 | 35 sed -i 's|uname -m|echo i486|' config/Makefile* |
Hans-G?nter@20970 | 36 make -j 1 && |
Hans-G?nter@20973 | 37 make GLEW_DEST=/usr install |
pascal@6063 | 38 } |
pascal@6063 | 39 |
pascal@6063 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6063 | 41 genpkg_rules() |
pascal@6063 | 42 { |
gokhlayeh@7001 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@20972 | 44 cp -a $src/bin $fs/usr |
Hans-G?nter@20972 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@6063 | 46 } |