wok-6.x diff xorg-xproto/receipt @ rev 14604

Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 31 00:58:07 2013 +0000 (2013-05-31)
parents a8e710f0541f
children 5ddb4d29b420
line diff
     1.1 --- a/xorg-xproto/receipt	Tue Apr 24 18:17:28 2012 +0200
     1.2 +++ b/xorg-xproto/receipt	Fri May 31 00:58:07 2013 +0000
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xproto"
     1.7 -VERSION="7.0.23"
     1.8 +VERSION="7.0.24"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Xorg server module."
    1.11 +SHORT_DESC="Xproto headers"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -SOURCE="xproto"
    1.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 +LICENSE="other"
    1.16  WEB_SITE="http://www.x.org/"
    1.17 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
    1.18  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.19  
    1.20  DEPENDS="xorg-util-macros"
    1.21 @@ -16,18 +16,20 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	cd $src
    1.26  	./configure \
    1.27  		--sysconfdir=/etc \
    1.28 -		--mandir=/usr/share/man \
    1.29  		--localstatedir=/var \
    1.30 -	$CONFIGURE_ARGS &&
    1.31 -	make && make install
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 +	mkdir -p $fs/usr/share/licenses
    1.41 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.42 +
    1.43  	cp -a $install/* $fs
    1.44 +	rm -rf $fs/usr/share/doc
    1.45  }
    1.46 -