wok diff libglu-mesa/receipt @ rev 13892

cookutils: get tarball from hg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 17 22:23:35 2013 +0100 (2013-01-17)
parents 37eb1b42e1fe
children 8f447cf2eee5
line diff
     1.1 --- a/libglu-mesa/receipt	Fri Jan 04 21:06:24 2013 +0100
     1.2 +++ b/libglu-mesa/receipt	Thu Jan 17 22:23:35 2013 +0100
     1.3 @@ -1,19 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libglu-mesa"
     1.7 -VERSION="9.0.1"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="OpenGL utility library"
    1.10 +VERSION="9.0.0"
    1.11 +CATEGORY="x-window"
    1.12 +SHORT_DESC="OpenGL utility library."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://www.mesa3d.org/"
    1.16 +WGET_URL="git|git://anongit.freedesktop.org/mesa/glu.git"
    1.17 +PROVIDE="libglu"
    1.18 +
    1.19  DEPENDS="glibc-base gcc-lib-base mesa"
    1.20 -WANTED="mesa"
    1.21 -SUGGESTED="nvidia"
    1.22 -PROVIDE="libglu"
    1.23 +BUILD_DEPENDS="mesa-dev automake autoconf libtool"
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	cd $src
    1.29 +	./autogen.sh
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make $MAKEFLAGS && make install
    1.34 +}
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr/lib
    1.40 -	cp -a $install/usr/lib/libGLU* $fs/usr/lib
    1.41 +	cp -a $install/usr/lib/libGLU*so* $fs/usr/lib
    1.42  }