wok diff xorg-xf86vidmodeproto/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 b819c0ead351
children 5ddb4d29b420
line diff
     1.1 --- a/xorg-xf86vidmodeproto/receipt	Tue Apr 24 18:48:41 2012 +0200
     1.2 +++ b/xorg-xf86vidmodeproto/receipt	Fri May 31 00:58:07 2013 +0000
     1.3 @@ -3,28 +3,32 @@
     1.4  PACKAGE="xorg-xf86vidmodeproto"
     1.5  VERSION="2.3.1"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Xorg server protocol."
     1.8 +SHORT_DESC="XF86VidMode extension headers"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 -SOURCE="xf86vidmodeproto"
    1.11 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.12 +LICENSE="other"
    1.13  WEB_SITE="http://www.x.org/"
    1.14 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
    1.15  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.16  
    1.17 +DEPENDS="xorg-xproto"
    1.18 +BUILD_DEPENDS="xorg-util-macros"
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	cd $src
    1.24  	./configure \
    1.25  		--sysconfdir=/etc \
    1.26 -		--mandir=/usr/share/man \
    1.27  		--localstatedir=/var \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -	make && make install
    1.30 +	make &&
    1.31 +	make install
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 +	mkdir -p $fs/usr/share/licenses
    1.38 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.39 +
    1.40  	cp -a $install/* $fs
    1.41  }
    1.42 -