wok-stable diff brscan/receipt @ rev 9072

wqy-microhei, wqy-bitmapfont: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 15:45:23 2011 +0100 (2011-03-04)
parents 4273e906522b
children 2e29b2259f48
line diff
     1.1 --- a/brscan/receipt	Tue Feb 16 11:40:35 2010 +0000
     1.2 +++ b/brscan/receipt	Fri Mar 04 15:45:23 2011 +0100
     1.3 @@ -21,7 +21,11 @@
     1.4  	--mandir=/usr/share/man \
     1.5  	$CONFIGURE_ARGS || return 1
     1.6  	sed -i '/mk_package/d' Makefile
     1.7 -	make
     1.8 +	make && {
     1.9 +		cd ..
    1.10 +		mkdir -p $DESTDIR
    1.11 +		cp -a brscan $DESTDIR
    1.12 +	}
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 @@ -31,32 +35,32 @@
    1.17  	for i in BHL BHL2 BHL2FB BHLFB BHMFB BHminiFB YL4 YL4FB \
    1.18  		 ZL2 ZL2FB ZLe ZLeFB ; do
    1.19  		mkdir -p $fs/usr/local/Brother/sane/GrayCmData/$i
    1.20 -		cp -a $src/brscan/libbrcolm/GrayCmData/$i/* \
    1.21 +		cp -a $_pkg/brscan/libbrcolm/GrayCmData/$i/* \
    1.22  			$fs/usr/local/Brother/sane/GrayCmData/$i
    1.23  		chmod 644 $fs/usr/local/Brother/sane/GrayCmData/$i/*
    1.24  	done
    1.25 -	cp $src/brscan/backend_brscan/.libs/libsane-brother.so.1.0.7 \
    1.26 +	cp $_pkg/brscan/backend_brscan/.libs/libsane-brother.so.1.0.7 \
    1.27  		$fs/usr/lib/sane/libsane-brother.so.1.0.7
    1.28  	ln -s libsane-brother.so.1.0.7 $fs/usr/lib/sane/libsane-brother.so.1
    1.29  	ln -s libsane-brother.so.1 $fs/usr/lib/sane/libsane-brother.so
    1.30 -	cp $src/brscan/libbrscandec/libbrscandec.so.1.0.0 \
    1.31 +	cp $_pkg/brscan/libbrscandec/libbrscandec.so.1.0.0 \
    1.32  		$fs/usr/lib/libbrscandec.so.1.0.0
    1.33  	chmod 755 $fs/usr/lib/libbrscandec.so.1.0.0
    1.34  	ln -s libbrscandec.so.1.0.0 $fs/usr/lib/libbrscandec.so.1
    1.35  	ln -s libbrscandec.so.1 $fs/usr/lib/libbrscandec.so
    1.36 -	cp $src/brscan/libbrcolm/libbrcolm.so.1.0.0 \
    1.37 +	cp $_pkg/brscan/libbrcolm/libbrcolm.so.1.0.0 \
    1.38  		$fs/usr/lib/libbrcolm.so.1.0.0
    1.39  	ln -s libbrcolm.so.1.0.0 $fs/usr/lib/libbrcolm.so.1
    1.40  	ln -s libbrcolm.so.1 $fs/usr/lib/libbrcolm.so
    1.41 -	cp $src/brscan/mk_package/Brsane.ini \
    1.42 +	cp $_pkg/brscan/mk_package/Brsane.ini \
    1.43  		$fs/usr/local/Brother/sane/Brsane.ini
    1.44 -	cp $src/brscan/mk_package/brsanenetdevice.cfg \
    1.45 +	cp $_pkg/brscan/mk_package/brsanenetdevice.cfg \
    1.46  		$fs/usr/local/Brother/sane/brsanenetdevice.cfg
    1.47  	chmod 666 $fs/usr/local/Brother/sane/brsanenetdevice.cfg
    1.48 -	cp $src/brscan/netconfig/brsaneconfig \
    1.49 +	cp $_pkg/brscan/netconfig/brsaneconfig \
    1.50  		$fs/usr/local/Brother/sane/brsaneconfig
    1.51  	ln -s /usr/local/Brother/sane/brsaneconfig $fs/usr/bin/brsaneconfig
    1.52 -	cp $src/brscan/mk_package/setupSaneScan \
    1.53 +	cp $_pkg/brscan/mk_package/setupSaneScan \
    1.54  		$fs/usr/local/Brother/sane/setupSaneScan
    1.55  	chmod 755 $fs/usr/local/Brother/sane/setupSaneScan
    1.56  }