wok diff xcb-proto/receipt @ rev 15207

Add mktorrent
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 10 12:15:52 2013 +0000 (2013-09-10)
parents 1bd58ffde448
children 47e1df965953
line diff
     1.1 --- a/xcb-proto/receipt	Wed May 30 17:27:58 2012 +0200
     1.2 +++ b/xcb-proto/receipt	Tue Sep 10 12:15:52 2013 +0000
     1.3 @@ -1,33 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xcb-proto"
     1.7 -VERSION="1.7.1"
     1.8 -CATEGORY="x-window"
     1.9 -SHORT_DESC="XCB protocol."
    1.10 +VERSION="1.8"
    1.11 +CATEGORY="development"
    1.12 +SHORT_DESC="X protocol descriptions for XCB"
    1.13  MAINTAINER="mallory@sweetpeople.org"
    1.14 +LICENSE="other"
    1.15 +WEB_SITE="http://xcb.freedesktop.org/"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 +WGET_URL="${WEB_SITE}dist/$TARBALL"
    1.18 +
    1.19  DEPENDS="python"
    1.20 -BUILD_DEPENDS="python-dev"
    1.21 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.22 -WEB_SITE="http://xcb.freedesktop.org"
    1.23 -WGET_URL="$WEB_SITE/dist/$TARBALL"
    1.24 +BUILD_DEPENDS="python-dev libxml2-tools"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30  	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--infodir=/usr/share/info \
    1.33 -		--mandir=/usr/share/man \
    1.34 +		--sysconfdir=/etc \
    1.35 +		--localstatedir=/var \
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make && make DESTDIR=$PWD/_pkg install
    1.38 +	make &&
    1.39 +	make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr
    1.46 -	cp -a $_pkg/usr/share $fs/usr
    1.47 -    cp -a $_pkg/usr/lib $fs/usr
    1.48 +	mkdir -p $fs/usr/share/licenses
    1.49 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.50 +
    1.51 +	cp -a $install/* $fs
    1.52 +	# cook removes *.pyc *.pyo files by itself, but they leaves in files.list
    1.53 +	find $fs -name '*.py?' -delete
    1.54  }
    1.55 -