wok-6.x view slitaz-arm-rpi/receipt @ rev 16926
Add qbittorrent.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 18 03:37:45 2014 +0300 (2014-07-18) |
parents | 22077d5e9880 |
children | 3bda64f152c3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-arm-rpi"
4 VERSION="1.3.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/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/data/slitaz-rpi.desktop \
35 ${fs}/usr/share/applications
36 cp -a ${src}/rpi/data/raspberrypi.png \
37 ${fs}/usr/share/pixmaps ;;
38 arm*)
39 mkdir -p ${fs}/var/www/adm
40 cp -a ${src}/rpi/rootfs/* ${fs}
41 # Tools
42 for tool in tazberry piboot pileds raspicomm piface pitft-setup \
43 pibrella piborg/piborg
44 do
45 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin
46 done
47 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
48 chown -R root.root ${fs} ;;
49 esac
50 }