wok-next annotate slitaz-arm-rpi/receipt @ rev 19865
slitaz-base-files: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 12 03:41:56 2017 +0300 (2017-09-12) |
parents | 3bda64f152c3 |
children | c4e53a39395a |
rev | line source |
---|---|
pankso@16341 | 1 # SliTaz package receipt. |
pankso@16341 | 2 |
pankso@16341 | 3 PACKAGE="slitaz-arm-rpi" |
al@19588 | 4 VERSION="214" |
pankso@16341 | 5 CATEGORY="base-system" |
pankso@16341 | 6 SHORT_DESC="SliTaz Raspberry Pi: tools, CGI adm, configs and artwork." |
pankso@16341 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16341 | 8 LICENSE="BSD" |
pankso@16341 | 9 WEB_SITE="http://arm.slitaz.org/rpi/" |
pankso@16460 | 10 HOST_ARCH="i486 arm" |
pankso@16448 | 11 CONFIG_FILES="\ |
pankso@16448 | 12 /boot/cmdline.txt \ |
pankso@16448 | 13 /boot/config.txt \ |
pankso@16448 | 14 /etc/slim.conf \ |
pankso@16448 | 15 /etc/rcS.conf \ |
pankso@16448 | 16 /etc/sysctl.conf \ |
pankso@16575 | 17 /etc/fstab \ |
pankso@16440 | 18 /etc/modprobe.d/rpi-blacklist.conf" |
pankso@16341 | 19 |
al@19588 | 20 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19588 | 21 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2" |
al@19588 | 22 |
al@19588 | 23 DEPENDS="slitaz-configs dialog" |
al@19588 | 24 SIBLINGS="slitaz-arm-configs" |
al@19588 | 25 |
pankso@16341 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16341 | 27 genpkg_rules() |
pankso@16341 | 28 { |
pankso@16586 | 29 mkdir -p ${fs}/usr/sbin |
pankso@16460 | 30 case "$ARCH" in |
pankso@16586 | 31 i?86) |
pankso@16665 | 32 mkdir -p ${fs}/usr/bin \ |
pankso@16665 | 33 ${fs}/usr/share/applications \ |
pankso@16586 | 34 ${fs}/usr/share/pixmaps |
pankso@16586 | 35 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin |
pascal@19016 | 36 cp -a ${src}/rpi/tazbian ${fs}/usr/bin |
pascal@19016 | 37 cp -a ${src}/rpi/tazarch ${fs}/usr/bin |
pankso@16586 | 38 cp -a ${src}/rpi/data/slitaz-rpi.desktop \ |
pankso@16586 | 39 ${fs}/usr/share/applications |
pankso@16586 | 40 cp -a ${src}/rpi/data/raspberrypi.png \ |
pankso@16586 | 41 ${fs}/usr/share/pixmaps ;; |
pankso@16460 | 42 arm*) |
pankso@16460 | 43 mkdir -p ${fs}/var/www/adm |
pankso@16460 | 44 cp -a ${src}/rpi/rootfs/* ${fs} |
pankso@16674 | 45 # Tools |
pankso@16674 | 46 for tool in tazberry piboot pileds raspicomm piface pitft-setup \ |
pankso@16674 | 47 pibrella piborg/piborg |
pankso@16629 | 48 do |
pankso@16629 | 49 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin |
pankso@16629 | 50 done |
pankso@16460 | 51 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm |
pankso@16460 | 52 chown -R root.root ${fs} ;; |
pankso@16460 | 53 esac |
pankso@16341 | 54 } |