wok rev 14595

libxcb: have no version 1.9.1
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 18:54:02 2013 +0000 (2013-05-27)
parents 423935b2ad7a
children bf9149d0dfc6 02f1e6c5d8a2
files libxcb-dev/receipt libxcb/description.txt libxcb/receipt
line diff
     1.1 --- a/libxcb-dev/receipt	Mon May 27 13:23:03 2013 +0200
     1.2 +++ b/libxcb-dev/receipt	Mon May 27 18:54:02 2013 +0000
     1.3 @@ -1,13 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libxcb-dev"
     1.7 -VERSION="1.9.1"
     1.8 +VERSION="1.9"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="libxcb development files"
    1.11 -DEPENDS="libxcb libpthread-stubs xorg-libXau-dev xorg-libXdmcp-dev"
    1.12  MAINTAINER="mallory@sweetpeople.org"
    1.13 +LICENSE="other"
    1.14 +WEB_SITE="http://xcb.freedesktop.org/"
    1.15 +
    1.16  WANTED="libxcb"
    1.17 -WEB_SITE="http://xcb.freedesktop.org"
    1.18 +DEPENDS="libxcb xorg-libXau-dev xorg-libXdmcp-dev"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22 @@ -16,5 +18,6 @@
    1.23  	cp -a $install/usr/include $fs/usr
    1.24  	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 +	sed -i 's|pthread-stubs||' $fs/usr/lib/pkgconfig/xcb.pc
    1.27  }
    1.28  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libxcb/description.txt	Mon May 27 18:54:02 2013 +0000
     2.3 @@ -0,0 +1,3 @@
     2.4 +The X protocol C-language Binding (XCB) is a replacement for Xlib featuring
     2.5 +a small footprint, latency hiding, direct access to the protocol, improved
     2.6 +threading support, and extensibility.
     3.1 --- a/libxcb/receipt	Mon May 27 13:23:03 2013 +0200
     3.2 +++ b/libxcb/receipt	Mon May 27 18:54:02 2013 +0000
     3.3 @@ -1,32 +1,39 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libxcb"
     3.7 -VERSION="1.9.1"
     3.8 +VERSION="1.9"
     3.9  CATEGORY="x-window"
    3.10 -SHORT_DESC="The X protocol C-language Binding (XCB) is a replacement for \
    3.11 -Xlib featuring a small footprint, latency hiding, direct access to the \
    3.12 -protocol, improved threading support, and extensibility."
    3.13 +SHORT_DESC="A C binding to the X11 protocol"
    3.14  MAINTAINER="mallory@sweetpeople.org"
    3.15 -DEPENDS="xorg-libXau xorg-libXdmcp"
    3.16 -BUILD_DEPENDS="xcb-proto libxslt-dev pkg-config libpthread-stubs xorg-libXau-dev xorg-libXdmcp-dev"
    3.17 +LICENSE="other"
    3.18 +WEB_SITE="http://xcb.freedesktop.org/"
    3.19  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.20 -WEB_SITE="http://xcb.freedesktop.org"
    3.21 -WGET_URL="$WEB_SITE/dist/$TARBALL"
    3.22 +WGET_URL="${WEB_SITE}dist/$TARBALL"
    3.23 +
    3.24 +DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
    3.25 +# autoconf and automake in bdeps breaks build (but, see warnings in log)
    3.26 +BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev"
    3.27  
    3.28  # Rules to configure and make the package.
    3.29  compile_rules()
    3.30  {
    3.31 -	cd $src
    3.32 +	# http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
    3.33 +	sed -i "s|pthread-stubs||" $src/configure.ac &&
    3.34  	./configure \
    3.35  		--enable-xinput \
    3.36 +		--disable-build-docs \
    3.37  		$CONFIGURE_ARGS &&
    3.38 -	make && make DESTDIR=$DESTDIR install
    3.39 +	make &&
    3.40 +	make DESTDIR=$DESTDIR install
    3.41  }
    3.42  
    3.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.44  genpkg_rules()
    3.45  {
    3.46 -	mkdir -p $fs/usr/lib 
    3.47 +	mkdir -p \
    3.48 +		$fs/usr/lib \
    3.49 +		$fs/usr/share/licenses
    3.50  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.51 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    3.52  }
    3.53