wok-next annotate slitaz-arm-rpi/receipt @ rev 20611
Add rpcsvc-proto
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 21:54:31 2018 +0300 (2018-04-19) |
parents | 266eb7ab8b5a |
children | cd7906120828 |
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@16448 | 10 CONFIG_FILES="\ |
pankso@16448 | 11 /boot/cmdline.txt \ |
pankso@16448 | 12 /boot/config.txt \ |
pankso@16448 | 13 /etc/slim.conf \ |
pankso@16448 | 14 /etc/rcS.conf \ |
pankso@16448 | 15 /etc/sysctl.conf \ |
pankso@16575 | 16 /etc/fstab \ |
pankso@16440 | 17 /etc/modprobe.d/rpi-blacklist.conf" |
pankso@16341 | 18 |
al@19588 | 19 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19588 | 20 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2" |
al@19588 | 21 |
al@19588 | 22 DEPENDS="slitaz-configs dialog" |
al@19588 | 23 SIBLINGS="slitaz-arm-configs" |
al@19588 | 24 |
pankso@16341 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16341 | 26 genpkg_rules() |
pankso@16341 | 27 { |
pankso@16586 | 28 mkdir -p ${fs}/usr/sbin |
pankso@16460 | 29 case "$ARCH" in |
pankso@16586 | 30 i?86) |
pankso@16665 | 31 mkdir -p ${fs}/usr/bin \ |
pankso@16665 | 32 ${fs}/usr/share/applications \ |
pankso@16586 | 33 ${fs}/usr/share/pixmaps |
pankso@16586 | 34 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin |
pascal@19016 | 35 cp -a ${src}/rpi/tazbian ${fs}/usr/bin |
pascal@19016 | 36 cp -a ${src}/rpi/tazarch ${fs}/usr/bin |
pankso@16586 | 37 cp -a ${src}/rpi/data/slitaz-rpi.desktop \ |
pankso@16586 | 38 ${fs}/usr/share/applications |
pankso@16586 | 39 cp -a ${src}/rpi/data/raspberrypi.png \ |
pankso@16586 | 40 ${fs}/usr/share/pixmaps ;; |
pankso@16460 | 41 arm*) |
pankso@16460 | 42 mkdir -p ${fs}/var/www/adm |
pankso@16460 | 43 cp -a ${src}/rpi/rootfs/* ${fs} |
pankso@16674 | 44 # Tools |
pankso@16674 | 45 for tool in tazberry piboot pileds raspicomm piface pitft-setup \ |
pankso@16674 | 46 pibrella piborg/piborg |
pankso@16629 | 47 do |
pankso@16629 | 48 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin |
pankso@16629 | 49 done |
pankso@16460 | 50 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm |
pankso@16460 | 51 chown -R root.root ${fs} ;; |
pankso@16460 | 52 esac |
pankso@16341 | 53 } |