wok annotate 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 |
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@6063 | 25 # Rules to configure and make the package. |
pascal@6063 | 26 compile_rules() |
pascal@6063 | 27 { |
pascal@20212 | 28 sed -i 's|uname -m|echo i486|' config/Makefile* |
Hans-G?nter@20970 | 29 make -j 1 && |
Hans-G?nter@20973 | 30 make GLEW_DEST=/usr install |
pascal@6063 | 31 } |
pascal@6063 | 32 |
pascal@6063 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6063 | 34 genpkg_rules() |
pascal@6063 | 35 { |
gokhlayeh@7001 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@20972 | 37 cp -a $src/bin $fs/usr |
Hans-G?nter@20972 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@6063 | 39 } |