wok diff xorg-gccmakedep/receipt @ rev 20233

Up Dropbear (2018.76)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 12:39:40 2018 +0100 (2018-03-05)
parents 07ae722ec64e
children 814c58f64f83
line diff
     1.1 --- a/xorg-gccmakedep/receipt	Sun Oct 31 00:13:37 2010 +0200
     1.2 +++ b/xorg-gccmakedep/receipt	Mon Mar 05 12:39:40 2018 +0100
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="X gccmakedep utility."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -BUILD_DEPENDS="xorg-dev-proto"
     1.8 +LICENSE="MIT"
     1.9  SOURCE="gccmakedep"
    1.10  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.x.org/"
    1.12  WGET_URL="$XORG_MIRROR/util/$TARBALL"
    1.13  
    1.14 +BUILD_DEPENDS="xorg-dev-proto"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 @@ -18,13 +20,13 @@
    1.20  	./configure --prefix=/usr --mandir=/usr/share/man \
    1.21  	$CONFIGURE_ARGS
    1.22  	make
    1.23 -	make DESTDIR=$PWD/_pkg install
    1.24 -	chmod +x $PWD/_pkg/usr/bin/*
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +	chmod +x $DESTDIR/usr/bin/*
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35  }