wok diff xorg-printproto/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 b9032bfcb3e1
children 5ddb4d29b420
line diff
     1.1 --- a/xorg-printproto/receipt	Sat Feb 05 17:52:32 2011 +0000
     1.2 +++ b/xorg-printproto/receipt	Fri May 31 00:58:07 2013 +0000
     1.3 @@ -1,33 +1,35 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-printproto"
     1.7 -SOURCE="printproto"
     1.8  VERSION="1.0.5"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Xorg server devel module."
    1.11 +SHORT_DESC="Print extension headers"
    1.12  MAINTAINER="rcx@zoominternet.net"
    1.13 -DEPENDS="xorg-util-macros"
    1.14 +LICENSE="other"
    1.15 +WEB_SITE="http://www.x.org/"
    1.16 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
    1.17 +WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.18 +
    1.19 +DEPENDS="xorg-fontsproto xorg-libX11-dev xorg-libXau-dev"
    1.20  BUILD_DEPENDS="xorg-util-macros"
    1.21 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.22 -WEB_SITE="http://www.x.org/"
    1.23 -WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29  	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--infodir=/usr/share/info \
    1.32 -		--mandir=/usr/share/man \
    1.33 +		--sysconfdir=/etc \
    1.34 +		--localstatedir=/var \
    1.35  		$CONFIGURE_ARGS &&
    1.36 -	make && make DESTDIR=$PWD/_pkg install
    1.37 +	make &&
    1.38 +	make install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs
    1.45 -	cp -a $_pkg/usr $fs
    1.46 +	mkdir -p $fs/usr/share/licenses
    1.47 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.48 +
    1.49 +	cp -a $install/* $fs
    1.50 +	rm -rf $fs/usr/share/man
    1.51  }
    1.52 -