wok-next annotate slitaz-arm-rpi/receipt @ rev 20888

Check Repology info from q* to x* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 14 17:43:03 2018 +0300 (2018-07-14)
parents c4e53a39395a
children d5aab818505e
rev   line source
pankso@16341 1 # SliTaz package receipt.
pankso@16341 2
pankso@16341 3 PACKAGE="slitaz-arm-rpi"
al@19588 4 VERSION="214"
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/"
al@20888 10 REPOLOGY="-"
al@20888 11
pankso@16448 12 CONFIG_FILES="\
pankso@16448 13 /boot/cmdline.txt \
pankso@16448 14 /boot/config.txt \
pankso@16448 15 /etc/slim.conf \
pankso@16448 16 /etc/rcS.conf \
pankso@16448 17 /etc/sysctl.conf \
pankso@16575 18 /etc/fstab \
pankso@16440 19 /etc/modprobe.d/rpi-blacklist.conf"
pankso@16341 20
al@19588 21 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19588 22 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2"
al@19588 23
al@19588 24 DEPENDS="slitaz-configs dialog"
al@19588 25 SIBLINGS="slitaz-arm-configs"
al@19588 26
pankso@16341 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16341 28 genpkg_rules()
pankso@16341 29 {
pankso@16586 30 mkdir -p ${fs}/usr/sbin
pankso@16460 31 case "$ARCH" in
pankso@16586 32 i?86)
pankso@16665 33 mkdir -p ${fs}/usr/bin \
pankso@16665 34 ${fs}/usr/share/applications \
pankso@16586 35 ${fs}/usr/share/pixmaps
pankso@16586 36 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin
pascal@19016 37 cp -a ${src}/rpi/tazbian ${fs}/usr/bin
pascal@19016 38 cp -a ${src}/rpi/tazarch ${fs}/usr/bin
pankso@16586 39 cp -a ${src}/rpi/data/slitaz-rpi.desktop \
pankso@16586 40 ${fs}/usr/share/applications
pankso@16586 41 cp -a ${src}/rpi/data/raspberrypi.png \
pankso@16586 42 ${fs}/usr/share/pixmaps ;;
pankso@16460 43 arm*)
pankso@16460 44 mkdir -p ${fs}/var/www/adm
pankso@16460 45 cp -a ${src}/rpi/rootfs/* ${fs}
pankso@16674 46 # Tools
pankso@16674 47 for tool in tazberry piboot pileds raspicomm piface pitft-setup \
pankso@16674 48 pibrella piborg/piborg
pankso@16629 49 do
pankso@16629 50 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin
pankso@16629 51 done
pankso@16460 52 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
pankso@16460 53 chown -R root.root ${fs} ;;
pankso@16460 54 esac
pankso@16341 55 }