wok-next view 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 |
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 HOST_ARCH="i486 arm"
11 CONFIG_FILES="\
12 /boot/cmdline.txt \
13 /boot/config.txt \
14 /etc/slim.conf \
15 /etc/rcS.conf \
16 /etc/sysctl.conf \
17 /etc/fstab \
18 /etc/modprobe.d/rpi-blacklist.conf"
20 TARBALL="$PACKAGE-$VERSION.tar.bz2"
21 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2"
23 DEPENDS="slitaz-configs dialog"
24 SIBLINGS="slitaz-arm-configs"
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p ${fs}/usr/sbin
30 case "$ARCH" in
31 i?86)
32 mkdir -p ${fs}/usr/bin \
33 ${fs}/usr/share/applications \
34 ${fs}/usr/share/pixmaps
35 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin
36 cp -a ${src}/rpi/tazbian ${fs}/usr/bin
37 cp -a ${src}/rpi/tazarch ${fs}/usr/bin
38 cp -a ${src}/rpi/data/slitaz-rpi.desktop \
39 ${fs}/usr/share/applications
40 cp -a ${src}/rpi/data/raspberrypi.png \
41 ${fs}/usr/share/pixmaps ;;
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
48 do
49 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin
50 done
51 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
52 chown -R root.root ${fs} ;;
53 esac
54 }