wok-next diff xorg-xf86driproto/receipt @ rev 19949

sane-backends: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 16 12:17:41 2017 +0200 (2017-10-16)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-xf86driproto/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-xf86driproto/receipt	Mon Oct 16 12:17:41 2017 +0200
     1.3 @@ -1,27 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xf86driproto"
     1.8  VERSION="2.1.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="XF86DRI extension headers"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -LICENSE="other"
    1.13 +LICENSE="MIT"
    1.14  WEB_SITE="https://www.x.org/wiki/"
    1.15  
    1.16  TARBALL="xf86driproto-$VERSION.tar.bz2"
    1.17  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.18  
    1.19 -DEPENDS="xorg-util-macros libdrm-dev pkg-config"
    1.20  BUILD_DEPENDS="xorg-util-macros"
    1.21 +PKG_RULE="dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	./configure $CONFIGURE_ARGS && make && make install
    1.27 +	./configure \
    1.28 +		--sysconfdir=/etc \
    1.29 +		--localstatedir=/var \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make &&
    1.32 +	make install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	copy *.h *.pc
    1.39 +	copy @dev
    1.40 +	DEPENDS="xorg-util-macros"
    1.41  }