wok-6.x diff scrot/receipt @ rev 17393

opus: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 16:05:28 2014 +0100 (2014-11-27)
parents ac0701daf97a
children a8e75e9bae6c
line diff
     1.1 --- a/scrot/receipt	Wed Nov 07 02:05:38 2012 +0000
     1.2 +++ b/scrot/receipt	Thu Nov 27 16:05:28 2014 +0100
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="A screen capture utility"
     1.6  MAINTAINER="al.bobylev@gmail.com"
     1.7 +LICENSE="BSD"
     1.8 +TARBALL="$PACKAGE-${VERSION%-*}.tar.gz"
     1.9 +WEB_SITE="http://freecode.com/projects/scrot"
    1.10 +WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL"
    1.11 +
    1.12  DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \
    1.13  xorg-libXau xorg-libXdmcp xorg-libXext zlib"
    1.14  BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev"
    1.15 -TARBALL="$PACKAGE-${VERSION%-*}.tar.gz"
    1.16 -WEB_SITE="http://freecode.com/projects/scrot"
    1.17 -WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21 @@ -19,12 +21,12 @@
    1.22  	patch -p1 < $stuff/scrot.patch
    1.23  	./configure $CONFIGURE_ARGS &&
    1.24  	make &&
    1.25 -	make DESTDIR=$PWD/_pkg install
    1.26 +	make DESTDIR=$DESTDIR install
    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  }