wok-current view slitaz-arm-rpi/receipt @ rev 19949

memtest: add @cmdlinefile support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 07 21:49:40 2017 +0200 (2017-05-07)
parents 6339dba2782b
children 7e911016a644
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-arm-rpi"
4 VERSION="212"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2"
12 HOST_ARCH="i486 arm"
14 DEPENDS="slitaz-configs dialog"
15 CONFIG_FILES="\
16 /boot/cmdline.txt \
17 /boot/config.txt \
18 /etc/slim.conf \
19 /etc/rcS.conf \
20 /etc/sysctl.conf \
21 /etc/fstab \
22 /etc/modprobe.d/rpi-blacklist.conf"
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
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 arm*)
41 mkdir -p ${fs}/var/www/adm
42 cp -a ${src}/rpi/rootfs/* ${fs}
43 # Tools
44 for tool in tazberry piboot pileds raspicomm piface pitft-setup \
45 pibrella piborg/piborg
46 do
47 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin
48 done
49 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
50 chown -R root.root ${fs} ;;
51 esac
52 }