wok-6.x annotate glew/receipt @ rev 18839
Up slitaz-tools (963)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 21 23:15:39 2016 +0100 (2016-01-21) |
parents | 6b09507225ec |
children | 03b2309fd335 |
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@15600 | 8 LICENSE="MIT BSD" |
pascal@6063 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@6063 | 10 WEB_SITE="http://glew.sourceforge.net/" |
pascal@6063 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13796 | 12 |
pascal@6063 | 13 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
slaxemulator@6970 | 14 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \ |
pankso@12481 | 15 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid" |
pascal@6110 | 16 BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
pascal@6109 | 17 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \ |
pankso@12481 | 18 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \ |
slaxemulator@6970 | 19 libdrm-dev xorg-glproto mesa-dev libglu-mesa \ |
pascal@6063 | 20 xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ |
pascal@6063 | 21 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ |
pascal@6063 | 22 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev" |
pascal@6063 | 23 |
pascal@6063 | 24 # Rules to configure and make the package. |
pascal@6063 | 25 compile_rules() |
pascal@6063 | 26 { |
pascal@6063 | 27 cd $src |
pascal@13796 | 28 make && make GLEW_DEST=$DESTDIR/usr install |
pascal@6063 | 29 } |
pascal@6063 | 30 |
pascal@6063 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6063 | 32 genpkg_rules() |
pascal@6063 | 33 { |
gokhlayeh@7001 | 34 mkdir -p $fs/usr/lib |
pascal@13796 | 35 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@6063 | 37 } |