wok-next annotate glew/receipt @ rev 7397
linmodem-hsfmodem: check for modules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 26 20:59:24 2010 +0100 (2010-11-26) |
parents | 347c8334ceec |
children | 7c0d3f10f7d4 |
rev | line source |
---|---|
pascal@6063 | 1 # SliTaz package receipt. |
pascal@6063 | 2 |
pascal@6063 | 3 PACKAGE="glew" |
slaxemulator@7162 | 4 VERSION="1.5.7" |
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@6063 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@6063 | 9 WEB_SITE="http://glew.sourceforge.net/" |
pascal@6063 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6063 | 11 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
slaxemulator@6970 | 12 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \ |
pascal@6407 | 13 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-ng-uuid" |
pascal@6110 | 14 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
pascal@6109 | 15 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \ |
pascal@6110 | 16 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-ng-uuid \ |
slaxemulator@6970 | 17 libdrm-dev xorg-glproto mesa-dev libglu-mesa \ |
pascal@6063 | 18 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ |
pascal@6063 | 19 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ |
pascal@6063 | 20 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev" |
pascal@6063 | 21 |
pascal@6063 | 22 # Rules to configure and make the package. |
pascal@6063 | 23 compile_rules() |
pascal@6063 | 24 { |
pascal@6063 | 25 cd $src |
pascal@6063 | 26 make && make GLEW_DEST=$PWD/_pkg/usr install |
pascal@6063 | 27 } |
pascal@6063 | 28 |
pascal@6063 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6063 | 30 genpkg_rules() |
pascal@6063 | 31 { |
gokhlayeh@7001 | 32 mkdir -p $fs/usr/lib |
gokhlayeh@7001 | 33 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@7001 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@6063 | 35 } |