wok diff libglw-mesa/receipt @ rev 14844

tightvnc-viewer: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 18 01:30:55 2013 +0200 (2013-07-18)
parents 37eb1b42e1fe
children 8f447cf2eee5
line diff
     1.1 --- a/libglw-mesa/receipt	Fri Jan 04 21:06:24 2013 +0100
     1.2 +++ b/libglw-mesa/receipt	Thu Jul 18 01:30:55 2013 +0200
     1.3 @@ -1,20 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libglw-mesa"
     1.7 -VERSION="9.0.1"
     1.8 -CATEGORY="development"
     1.9 +VERSION="8.0.0"
    1.10 +CATEGORY="x-window"
    1.11  SHORT_DESC="OpenGL widget library"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.mesa3d.org/"
    1.15 +WGET_URL="git|git://anongit.freedesktop.org/mesa/glw.git"
    1.16 +PROVIDE="libglw"
    1.17 +
    1.18  DEPENDS="glibc-base util-linux-uuid zlib freetype lesstif mesa \
    1.19  xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXt \
    1.20  lesstif"
    1.21 -WANTED="mesa"
    1.22 -PROVIDE="libglw"
    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/libGLw* $fs/usr/lib
    1.41 +	cp -a $install/usr/lib/libGLw*so* $fs/usr/lib
    1.42  }