wok diff xorg-util-macros/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-util-macros/receipt	Tue Apr 24 18:48:41 2012 +0200
     1.2 +++ b/xorg-util-macros/receipt	Fri May 31 00:58:07 2013 +0000
     1.3 @@ -3,27 +3,31 @@
     1.4  PACKAGE="xorg-util-macros"
     1.5  VERSION="1.17"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="X.Org Autotools macros"
     1.8 +SHORT_DESC="A set of autoconf project macros for X.Org modules"
     1.9  MAINTAINER="gokhlayeh@slitaz.org"
    1.10 -SOURCE="util-macros"
    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/util/$TARBALL"
    1.16  
    1.17 +DEPENDS="m4 pkg-config"
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	cd $src
    1.23  	./configure \
    1.24  		--sysconfdir=/etc \
    1.25 -		--mandir=/usr/share/man \
    1.26  		--localstatedir=/var \
    1.27  		$CONFIGURE_ARGS &&
    1.28 -	make && make install
    1.29 +	make &&
    1.30 +	make install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 +	mkdir -p $fs/usr/share/licenses
    1.37 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.38 +
    1.39  	cp -a $install/* $fs
    1.40  }