wok annotate slitaz-arm-rpi/receipt @ rev 16979
transmission: compile-schemas
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Aug 06 15:43:24 2014 +0000 (2014-08-06) |
parents | 22077d5e9880 |
children | 3bda64f152c3 |
rev | line source |
---|---|
pankso@16341 | 1 # SliTaz package receipt. |
pankso@16341 | 2 |
pankso@16341 | 3 PACKAGE="slitaz-arm-rpi" |
pankso@16674 | 4 VERSION="1.3.0" |
pankso@16341 | 5 CATEGORY="base-system" |
pankso@16341 | 6 SHORT_DESC="SliTaz Raspberry Pi: tools, CGI adm, configs and artwork." |
pankso@16341 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16341 | 8 LICENSE="BSD" |
pankso@16341 | 9 WEB_SITE="http://arm.slitaz.org/rpi/" |
pankso@16341 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16341 | 11 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/tip.tar.bz2" |
pankso@16460 | 12 HOST_ARCH="i486 arm" |
pankso@16341 | 13 |
pankso@16341 | 14 DEPENDS="slitaz-configs dialog" |
pankso@16448 | 15 CONFIG_FILES="\ |
pankso@16448 | 16 /boot/cmdline.txt \ |
pankso@16448 | 17 /boot/config.txt \ |
pankso@16448 | 18 /etc/slim.conf \ |
pankso@16448 | 19 /etc/rcS.conf \ |
pankso@16448 | 20 /etc/sysctl.conf \ |
pankso@16575 | 21 /etc/fstab \ |
pankso@16440 | 22 /etc/modprobe.d/rpi-blacklist.conf" |
pankso@16341 | 23 |
pankso@16341 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16341 | 25 genpkg_rules() |
pankso@16341 | 26 { |
pankso@16586 | 27 mkdir -p ${fs}/usr/sbin |
pankso@16460 | 28 case "$ARCH" in |
pankso@16586 | 29 i?86) |
pankso@16665 | 30 mkdir -p ${fs}/usr/bin \ |
pankso@16665 | 31 ${fs}/usr/share/applications \ |
pankso@16586 | 32 ${fs}/usr/share/pixmaps |
pankso@16586 | 33 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin |
pankso@16586 | 34 cp -a ${src}/rpi/data/slitaz-rpi.desktop \ |
pankso@16586 | 35 ${fs}/usr/share/applications |
pankso@16586 | 36 cp -a ${src}/rpi/data/raspberrypi.png \ |
pankso@16586 | 37 ${fs}/usr/share/pixmaps ;; |
pankso@16460 | 38 arm*) |
pankso@16460 | 39 mkdir -p ${fs}/var/www/adm |
pankso@16460 | 40 cp -a ${src}/rpi/rootfs/* ${fs} |
pankso@16674 | 41 # Tools |
pankso@16674 | 42 for tool in tazberry piboot pileds raspicomm piface pitft-setup \ |
pankso@16674 | 43 pibrella piborg/piborg |
pankso@16629 | 44 do |
pankso@16629 | 45 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin |
pankso@16629 | 46 done |
pankso@16460 | 47 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm |
pankso@16460 | 48 chown -R root.root ${fs} ;; |
pankso@16460 | 49 esac |
pankso@16341 | 50 } |