wok diff jasper/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents 73641efed1cc
children fd22b033a84a
line diff
     1.1 --- a/jasper/receipt	Mon Apr 23 16:30:27 2012 +0200
     1.2 +++ b/jasper/receipt	Fri Dec 06 10:39:07 2013 +0000
     1.3 @@ -5,13 +5,14 @@
     1.4  CATEGORY="graphics"
     1.5  SHORT_DESC="implementation of JPEG-2000 codec"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="xorg-libXi xorg-libXmu jpeg freeglut libglu-mesa util-linux-uuid"
     1.8 -BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev"
     1.9 +LICENSE="MIT"
    1.10  TARBALL="$PACKAGE-$VERSION.zip"
    1.11  WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" 
    1.12  WGET_URL="$WEB_SITE/software/$TARBALL"
    1.13  TAGS="jpeg jpg photo"
    1.14  
    1.15 +DEPENDS="xorg-libXi xorg-libXmu jpeg freeglut libglu-mesa util-linux-uuid"
    1.16 +BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -20,7 +21,7 @@
    1.21  	chmod +x configure
    1.22  	./configure --prefix=/usr --mandir=/usr/share/man --enable-shared $CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR install
    1.26  	
    1.27  }
    1.28  
    1.29 @@ -28,7 +29,7 @@
    1.30  genpkg_rules()
    1.31  {
    1.32      mkdir -p $fs/usr/lib
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/lib/*so* $fs/usr/lib	
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/lib/*so* $fs/usr/lib	
    1.37  	
    1.38  }