wok-next view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-arm-rpi"
4 VERSION="214"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz Raspberry Pi: tools, CGI adm, configs and artwork."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://arm.slitaz.org/rpi/"
10 CONFIG_FILES="\
11 /boot/cmdline.txt \
12 /boot/config.txt \
13 /etc/slim.conf \
14 /etc/rcS.conf \
15 /etc/sysctl.conf \
16 /etc/fstab \
17 /etc/modprobe.d/rpi-blacklist.conf"
19 TARBALL="$PACKAGE-$VERSION.tar.bz2"
20 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2"
22 DEPENDS="slitaz-configs dialog"
23 SIBLINGS="slitaz-arm-configs"
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p ${fs}/usr/sbin
29 case "$ARCH" in
30 i?86)
31 mkdir -p ${fs}/usr/bin \
32 ${fs}/usr/share/applications \
33 ${fs}/usr/share/pixmaps
34 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin
35 cp -a ${src}/rpi/tazbian ${fs}/usr/bin
36 cp -a ${src}/rpi/tazarch ${fs}/usr/bin
37 cp -a ${src}/rpi/data/slitaz-rpi.desktop \
38 ${fs}/usr/share/applications
39 cp -a ${src}/rpi/data/raspberrypi.png \
40 ${fs}/usr/share/pixmaps ;;
41 arm*)
42 mkdir -p ${fs}/var/www/adm
43 cp -a ${src}/rpi/rootfs/* ${fs}
44 # Tools
45 for tool in tazberry piboot pileds raspicomm piface pitft-setup \
46 pibrella piborg/piborg
47 do
48 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin
49 done
50 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
51 chown -R root.root ${fs} ;;
52 esac
53 }