wok-6.x rev 16586

Up: slitaz-arm-rpi (1.1.0) With Pileds support
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 04 22:27:50 2014 +0200 (2014-05-04)
parents 0ac2079a97ed
children 7ead91290a87
files slitaz-arm-rpi/receipt
line diff
     1.1 --- a/slitaz-arm-rpi/receipt	Sun May 04 14:12:00 2014 +0200
     1.2 +++ b/slitaz-arm-rpi/receipt	Sun May 04 22:27:50 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-arm-rpi"
     1.7 -VERSION="1.0"
     1.8 +VERSION="1.1.0"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz Raspberry Pi: tools, CGI adm, configs and artwork."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -24,15 +24,22 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p ${fs}/usr/bin
    1.17 +	mkdir -p ${fs}/usr/sbin
    1.18  	case "$ARCH" in
    1.19 -		i?86) 
    1.20 -			cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin ;;
    1.21 +		i?86)
    1.22 +			mkdir -p ${fs}/usr/share/applications \
    1.23 +				${fs}/usr/share/pixmaps
    1.24 +			cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin 
    1.25 +			cp -a ${src}/rpi/data/slitaz-rpi.desktop \
    1.26 +				${fs}/usr/share/applications
    1.27 +			cp -a ${src}/rpi/data/raspberrypi.png \
    1.28 +				${fs}/usr/share/pixmaps ;;
    1.29  		arm*)
    1.30  			mkdir -p ${fs}/var/www/adm
    1.31  			cp -a ${src}/rpi/rootfs/* ${fs}
    1.32 -			cp -a ${src}/rpi/tazberry ${fs}/usr/bin
    1.33 -			cp -a ${src}/rpi/piboot ${fs}/usr/bin
    1.34 +			cp -a ${src}/rpi/tazberry ${fs}/usr/sbin
    1.35 +			cp -a ${src}/rpi/piboot ${fs}/usr/sbin
    1.36 +			cp -a ${src}/rpi/pileds ${fs}/usr/sbin
    1.37  			cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
    1.38  			chown -R root.root ${fs} ;;
    1.39  	esac