wok-6.x diff libcdio/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents cc496c8ab07e
children 17e313b5b9c1
line diff
     1.1 --- a/libcdio/receipt	Thu Apr 19 21:48:35 2012 +0000
     1.2 +++ b/libcdio/receipt	Thu Dec 05 20:42:36 2013 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="GNU Compact Disc Input and Control Library"
     1.6  MAINTAINER="rj.rohit@gmail.com"
     1.7 -DEPENDS="libcddb ncurses gcc-lib-base"
     1.8 -BUILD_DEPENDS="libcddb libcddb-dev ncurses-dev gcc-lib-base"
     1.9 +LICENSE="GPL3"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.gnu.org/software/libcdio/" 
    1.12  WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
    1.13  
    1.14 +DEPENDS="libcddb ncurses gcc-lib-base"
    1.15 +BUILD_DEPENDS="libcddb libcddb-dev ncurses-dev gcc-lib-base"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -21,13 +23,13 @@
    1.21  	./configure --prefix=/usr --disable-vcd-info \
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/lib
    1.32 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.33 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.34  
    1.35  }