wok-current diff cndrvcups-common/receipt @ rev 14032

gocr: use pnm2png, not pnmtopng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 11:06:24 2013 +0100 (2013-02-18)
parents 6e4aa591c00b
children be3090d1feef
line diff
     1.1 --- a/cndrvcups-common/receipt	Sun Mar 06 05:34:07 2011 +0100
     1.2 +++ b/cndrvcups-common/receipt	Mon Feb 18 11:06:24 2013 +0100
     1.3 @@ -18,25 +18,25 @@
     1.4  compile_rules() {
     1.5  	
     1.6      cd $src
     1.7 -   
     1.8 +
     1.9      [ -d cndrvcups-common-$VERSION ] || tar xzf Sources/cndrvcups-common-${VERSION}-1.tar.gz
    1.10 -    
    1.11 -    cd $src/cndrvcups-common-$VERSION/buftool 
    1.12 -    ./autogen.sh --prefix=/usr && 
    1.13 -    make && 
    1.14 +
    1.15 +    cd $src/cndrvcups-common-$VERSION/buftool
    1.16 +    ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    1.17 +    make &&
    1.18      make DESTDIR=$DESTDIR LIBDIR=/usr/lib install
    1.19 -   
    1.20 -    cd $src/cndrvcups-common-$VERSION/cpca 
    1.21 -    ./autogen.sh --prefix=/usr && 
    1.22 -    make && 
    1.23 +
    1.24 +    cd $src/cndrvcups-common-$VERSION/cpca
    1.25 +    ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    1.26 +    make &&
    1.27      make DESTDIR=$DESTDIR LIBDIR=$DESTDIR/usr/lib install
    1.28 -      
    1.29 -    cd $src/cndrvcups-common-$VERSION/cngplp 
    1.30 -    ./autogen.sh --prefix=/usr && 
    1.31 +
    1.32 +    cd $src/cndrvcups-common-$VERSION/cngplp
    1.33 +    ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    1.34      make && \
    1.35      make DESTDIR=$DESTDIR install
    1.36 -  
    1.37 -    cd $src/cndrvcups-common-$VERSION/c3plmod_ipc 
    1.38 +
    1.39 +    cd $src/cndrvcups-common-$VERSION/c3plmod_ipc
    1.40      make && cp -a $src/cndrvcups-common-$VERSION $DESTDIR
    1.41  }
    1.42  	
    1.43 @@ -48,41 +48,40 @@
    1.44  			 $fs/usr/share/caepcm \
    1.45  			 $fs/usr/share/licenses/$PACKAGE \
    1.46  			 $fs/etc
    1.47 -	
    1.48 +
    1.49  	cp -a $_pkg/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib
    1.50  	cp -a $_pkg/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/
    1.51  	cp -a $_pkg/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/
    1.52  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.53  	cp -a $_pkg/etc $fs
    1.54 -	cp -a $_pkg/usr $fs	
    1.55 -	cp -a $_pkg/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib 
    1.56 -	cp -a $_pkg/cndrvcups-common-$VERSION/data/C*   $fs/usr/share/caepcm	
    1.57 -	
    1.58 +	cp -a $_pkg/usr $fs
    1.59 +	cp -a $_pkg/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib
    1.60 +	cp -a $_pkg/cndrvcups-common-$VERSION/data/C*   $fs/usr/share/caepcm
    1.61 +
    1.62  	# gzip all ppd files
    1.63  	#find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
    1.64 -	
    1.65 +
    1.66  	cd $fs/usr/lib
    1.67      ln -sf libc3pl.so.0.0.1 libc3pl.so.0
    1.68      ln -sf libc3pl.so.0.0.1 libc3pl.so
    1.69 -    
    1.70 +
    1.71      ln -sf libcnaccm.so.1.0 libcnaccm.so.1
    1.72      ln -sf libcnaccm.so.1.0 libcnaccm.so
    1.73 -    
    1.74 +
    1.75      ln -sf libcaepcm.so.1.0 libcaepcm.so.1
    1.76      ln -sf libcaepcm.so.1.0 libcaepcm.so
    1.77 -    
    1.78 +
    1.79      ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1
    1.80      ln -sf libcnlbcm.so.1.0 libcnlbcm.so
    1.81 -    
    1.82 +
    1.83      ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1
    1.84      ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so
    1.85 -    
    1.86 +
    1.87      ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1
    1.88      ln -sf libcaiousb.so.1.0.0 libcaiousb.so
    1.89 -    
    1.90 +
    1.91      ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1
    1.92 -    ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so 
    1.93 -   
    1.94 +    ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so
    1.95  }
    1.96  
    1.97