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