wok diff xorg-rgb/receipt @ rev 19726

testdisk: simplify some initializations
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 16 18:55:42 2017 +0100 (2017-02-16)
parents c514cc4854d8
children 814c58f64f83
line diff
     1.1 --- a/xorg-rgb/receipt	Wed Jan 19 19:41:12 2011 +0000
     1.2 +++ b/xorg-rgb/receipt	Thu Feb 16 18:55:42 2017 +0100
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="X11 RGB colors definitions."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -BUILD_DEPENDS="pkg-config xorg-xproto"
     1.8 +LICENSE="MIT"
     1.9  SOURCE="rgb"
    1.10  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.x.org/"
    1.12  WGET_URL="$XORG_MIRROR/app/$TARBALL"
    1.13  
    1.14 +BUILD_DEPENDS="pkg-config xorg-xproto"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 @@ -19,13 +21,13 @@
    1.20      --mandir=/usr/share/man --localstatedir=/var \
    1.21      $CONFIGURE_ARGS &&
    1.22      make &&
    1.23 -    make DESTDIR=$PWD/_pkg install
    1.24 +    make DESTDIR=$DESTDIR install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr/share
    1.31 -	cp -a $_pkg/usr/bin $fs/usr
    1.32 -	cp -a $_pkg/usr/share/X11 $fs/usr/share
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/share/X11 $fs/usr/share
    1.35  }