wok-6.x diff dvd+rw-tools/receipt @ rev 16434

Merge branches
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 18 13:51:05 2014 +0300 (2014-04-18)
parents d1768332cee0
children ad8b9ff412d2
line diff
     1.1 --- a/dvd+rw-tools/receipt	Sun May 08 09:01:58 2011 +0000
     1.2 +++ b/dvd+rw-tools/receipt	Fri Apr 18 13:51:05 2014 +0300
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="DVD RW tools"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="cdrkit"
     1.8 -BUILD_DEPENDS="cdrkit gcc-lib-base m4"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" 
    1.12  WGET_URL="$WEB_SITE/tools/$TARBALL"
    1.13  
    1.14 +DEPENDS="cdrkit"
    1.15 +BUILD_DEPENDS="cdrkit gcc-lib-base m4"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -19,9 +21,9 @@
    1.21  	grep -qs 'define u8' growisofs.c ||
    1.22  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c
    1.23  	make
    1.24 -	mkdir -p $PWD/_pkg/usr/bin/
    1.25 +	mkdir -p $DESTDIR/usr/bin/
    1.26  	for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do
    1.27 -		install -m755 $bin $PWD/_pkg/usr/bin/
    1.28 +		install -m755 $bin $DESTDIR/usr/bin/
    1.29  	done
    1.30  }
    1.31  
    1.32 @@ -29,6 +31,6 @@
    1.33  genpkg_rules()
    1.34  {
    1.35  	mkdir -p $fs/usr/bin
    1.36 -	cp -a $_pkg/usr/bin/growisofs $fs/usr/bin
    1.37 +	cp -a $install/usr/bin/growisofs $fs/usr/bin
    1.38  
    1.39  }