wok-next diff xorg-glproto/receipt @ rev 20430

fake-sane: fix copy-paste typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:29:11 2018 +0200 (2018-01-24)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-glproto/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-glproto/receipt	Wed Jan 24 13:29:11 2018 +0200
     1.3 @@ -1,28 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-glproto"
     1.8  VERSION="1.4.17"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="GL extension headers"
    1.11 +SHORT_DESC="GL/GLX (3D) header files"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -LICENSE="other"
    1.14 +LICENSE="MIT"
    1.15  WEB_SITE="https://www.x.org/wiki/"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18  TARBALL="glproto-$VERSION.tar.bz2"
    1.19  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.20  
    1.21 -DEPENDS="xorg-xproto"
    1.22  BUILD_DEPENDS="xorg-util-macros"
    1.23 +PKG_RULE="dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	./configure $CONFIGURE_ARGS && make && make install
    1.29 +	./configure \
    1.30 +		--sysconfdir=/etc \
    1.31 +		--localstatedir=/var \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	copy *.h *.pc
    1.41 +	copy @dev
    1.42 +	DEPENDS="xorg-xproto"
    1.43  }