wok diff xorg-xcmiscproto/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-xcmiscproto/receipt	Wed Jan 19 19:41:12 2011 +0000
     1.2 +++ b/xorg-xcmiscproto/receipt	Fri May 31 00:58:07 2013 +0000
     1.3 @@ -1,31 +1,35 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xcmiscproto"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.2.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Xorg server module."
    1.11 +SHORT_DESC="XCMisc extension headers"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 +LICENSE="other"
    1.14 +WEB_SITE="http://www.x.org/"
    1.15 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
    1.16 +WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.17 +
    1.18  DEPENDS="xorg-util-macros"
    1.19  BUILD_DEPENDS="xorg-util-macros"
    1.20 -SOURCE="xcmiscproto"
    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 --prefix=/usr --sysconfdir=/etc \
    1.30 -    --mandir=/usr/share/man --localstatedir=/var \
    1.31 -    $CONFIGURE_ARGS
    1.32 -    make
    1.33 -    make DESTDIR=$PWD/_pkg install
    1.34 +	./configure \
    1.35 +		--sysconfdir=/etc \
    1.36 +		--localstatedir=/var \
    1.37 +		$CONFIGURE_ARGS &&
    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 -    cp -a $_pkg/* $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/doc
    1.51  }
    1.52 -