wok-next view slitaz-arm-rpi/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | cd7906120828 |
children |
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="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://arm.slitaz.org/rpi/"
10 REPOLOGY="-"
12 CONFIG_FILES="\
13 /boot/cmdline.txt \
14 /boot/config.txt \
15 /etc/slim.conf \
16 /etc/rcS.conf \
17 /etc/sysctl.conf \
18 /etc/fstab \
19 /etc/modprobe.d/rpi-blacklist.conf"
21 TARBALL="$PACKAGE-$VERSION.tar.bz2"
22 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2"
24 SIBLINGS="slitaz-arm-configs"
26 genpkg_rules() {
27 mkdir -p $fs/usr/sbin
28 case "$ARCH" in
29 i?86)
30 mkdir -p $fs/usr/bin \
31 $fs/usr/share/applications \
32 $fs/usr/share/pixmaps
33 cp -a $src/rpi/slitaz-rpi $fs/usr/bin
34 cp -a $src/rpi/tazbian $fs/usr/bin
35 cp -a $src/rpi/tazarch $fs/usr/bin
36 cp -a $src/rpi/data/slitaz-rpi.desktop \
37 $fs/usr/share/applications
38 cp -a $src/rpi/data/raspberrypi.png \
39 $fs/usr/share/pixmaps
40 DEPENDS="slitaz-configs dialog"
41 ;;
42 arm*)
43 mkdir -p $fs/var/www/adm
44 cp -a $src/rpi/rootfs/* $fs
45 # Tools
46 for tool in tazberry piboot pileds raspicomm piface pitft-setup \
47 pibrella piborg/piborg; 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 ;;
53 esac
54 }