wok rev 6063

Add glew
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 22 10:52:54 2010 +0200 (2010-08-22)
parents e91159c0d814
children 5e8163d91ee4
files glew/receipt tazbb/stuff/tazbb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/glew/receipt	Sun Aug 22 10:52:54 2010 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="glew"
     1.7 +VERSION="1.5.5"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="The OpenGL Extension Wrangler Library."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.12 +WEB_SITE="http://glew.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
    1.15 +xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm libgl libglu \
    1.16 +xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE libuuid"
    1.17 +BUILD_DEPENDS="$DEPENDS libdrm-dev xorg-glproto \
    1.18 +xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
    1.19 +xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
    1.20 +xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	cd $src
    1.26 +	make && make GLEW_DEST=$PWD/_pkg/usr install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $_pkg/usr $fs
    1.33 +}
    1.34 +
     2.1 --- a/tazbb/stuff/tazbb	Sat Aug 21 13:58:44 2010 +0200
     2.2 +++ b/tazbb/stuff/tazbb	Sun Aug 22 10:52:54 2010 +0200
     2.3 @@ -286,7 +286,8 @@
     2.4  	echo "Checking all files in: $HG_WOK"
     2.5  	echo "================================================================================"
     2.6  	echo "(checking wok)" > $DB_DIR/running
     2.7 -	TOOLCHAIN="$(. $HG_WOK/slitaz-toolchain/receipt ; echo $DEPENDS)"
     2.8 +	#TOOLCHAIN="$(. $HG_WOK/slitaz-toolchain/receipt ; echo $DEPENDS)"
     2.9 +	TOOLCHAIN="binutils glibc-dev gcc"
    2.10  	for pkg in $HG_WOK/*
    2.11  	do
    2.12  		EXTRAVERSION=""