wok view slitaz-arm-rpi/receipt @ rev 16654

miro: update ffmpeg patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 13 15:42:58 2014 +0000 (2014-05-13)
parents 738c2f6552f9
children 22077d5e9880
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-arm-rpi"
4 VERSION="1.2.0"
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/tip.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/share/applications \
31 ${fs}/usr/share/pixmaps
32 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin
33 cp -a ${src}/rpi/data/slitaz-rpi.desktop \
34 ${fs}/usr/share/applications
35 cp -a ${src}/rpi/data/raspberrypi.png \
36 ${fs}/usr/share/pixmaps ;;
37 arm*)
38 mkdir -p ${fs}/var/www/adm
39 cp -a ${src}/rpi/rootfs/* ${fs}
40 for tool in tazberry piboot pileds raspicomm
41 do
42 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin
43 done
44 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
45 chown -R root.root ${fs} ;;
46 esac
47 }