wok diff xorg-xineramaproto/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 1213813a7554
children 5ddb4d29b420
line diff
     1.1 --- a/xorg-xineramaproto/receipt	Sat Feb 05 17:50:20 2011 +0000
     1.2 +++ b/xorg-xineramaproto/receipt	Fri May 31 00:58:07 2013 +0000
     1.3 @@ -3,29 +3,32 @@
     1.4  PACKAGE="xorg-xineramaproto"
     1.5  VERSION="1.2.1"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Xorg server module."
     1.8 +SHORT_DESC="Xinerama extension headers"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 -SOURCE="xineramaproto"
    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-util-macros"
    1.17  BUILD_DEPENDS="xorg-util-macros"
    1.18 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.19 -WEB_SITE="http://www.x.org/"
    1.20 -WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -    cd $src
    1.26 -    ./configure --prefix=/usr --sysconfdir=/etc \
    1.27 -    --mandir=/usr/share/man --localstatedir=/var \
    1.28 -    $CONFIGURE_ARGS
    1.29 -    make
    1.30 -    make DESTDIR=$PWD/_pkg install
    1.31 +	./configure \
    1.32 +		--sysconfdir=/etc \
    1.33 +		--localstatedir=/var \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -    cp -a $_pkg/* $fs
    1.43 +	mkdir -p $fs/usr/share/licenses
    1.44 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.45 +
    1.46 +	cp -a $install/* $fs
    1.47  }
    1.48 -