wok diff xorg-xtrans/receipt @ rev 14636

Xorg marathon, Day 2. xorg-trapproto: fix receipt; xorg-libXau(-dev): up 1.0.8; xorg-xtrans: prettify receipt; xorg-libX11: move X11 locales to locale-*; slitaz-i18n: add function get_x11_locale; locale-el: add receipt; locale-pt_BR locale-ru locale-zh_CN locale-zh_TW: add here X11 locales.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 02 12:09:39 2013 +0000 (2013-06-02)
parents b819c0ead351
children 5ddb4d29b420
line diff
     1.1 --- a/xorg-xtrans/receipt	Tue Apr 24 18:48:41 2012 +0200
     1.2 +++ b/xorg-xtrans/receipt	Sun Jun 02 12:09:39 2013 +0000
     1.3 @@ -3,30 +3,33 @@
     1.4  PACKAGE="xorg-xtrans"
     1.5  VERSION="1.2.7"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Xorg library to handle network protocol transport in a modular fashion."
     1.8 +SHORT_DESC="Abstract network code for X"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 -SOURCE="xtrans"
    1.11 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.12 +LICENSE="other"
    1.13  WEB_SITE="http://www.x.org/"
    1.14 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
    1.15  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.16  
    1.17 -DEPENDS="xorg-util-macros"
    1.18 +DEPENDS="xorg-xproto"
    1.19  BUILD_DEPENDS="xorg-util-macros"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25  	./configure \
    1.26  		--sysconfdir=/etc \
    1.27 -		--mandir=/usr/share/man \
    1.28  		--localstatedir=/var \
    1.29  		$CONFIGURE_ARGS &&
    1.30 -	make && make install
    1.31 +	make &&
    1.32 +	make install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 +	mkdir -p $fs/usr/share/licenses
    1.39 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.40 +
    1.41  	cp -a $install/* $fs
    1.42 +	rm -rf $fs/usr/share/doc
    1.43  }