wok annotate glew/receipt @ rev 14614
Up: php to 5.4.13.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 06:40:14 2013 +0000 (2013-06-01) |
parents | 73641efed1cc |
children | de49f29b101e |
rev | line source |
---|---|
pascal@6063 | 1 # SliTaz package receipt. |
pascal@6063 | 2 |
pascal@6063 | 3 PACKAGE="glew" |
slaxemulator@8634 | 4 VERSION="1.5.8" |
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@13796 | 11 |
pascal@6063 | 12 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
slaxemulator@6970 | 13 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \ |
pankso@12481 | 14 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid" |
pascal@6110 | 15 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
pascal@6109 | 16 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \ |
pankso@12481 | 17 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \ |
slaxemulator@6970 | 18 libdrm-dev xorg-glproto mesa-dev libglu-mesa \ |
pascal@6063 | 19 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ |
pascal@6063 | 20 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ |
pascal@6063 | 21 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev" |
pascal@6063 | 22 |
pascal@6063 | 23 # Rules to configure and make the package. |
pascal@6063 | 24 compile_rules() |
pascal@6063 | 25 { |
pascal@6063 | 26 cd $src |
pascal@13796 | 27 make && make GLEW_DEST=$DESTDIR/usr install |
pascal@6063 | 28 } |
pascal@6063 | 29 |
pascal@6063 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6063 | 31 genpkg_rules() |
pascal@6063 | 32 { |
gokhlayeh@7001 | 33 mkdir -p $fs/usr/lib |
pascal@13796 | 34 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@6063 | 36 } |