wok-6.x annotate slitaz-arm-rpi/receipt @ rev 24604
updated glm (0.9.9.7 -> 0.9.9.8)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 16:22:49 2022 +0100 (2022-03-02) |
parents | 3bda64f152c3 |
children |
rev | line source |
---|---|
pankso@16341 | 1 # SliTaz package receipt. |
pankso@16341 | 2 |
pankso@16341 | 3 PACKAGE="slitaz-arm-rpi" |
pascal@19016 | 4 VERSION="212" |
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" |
pascal@19016 | 11 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.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 |
pascal@24069 | 24 current_version() |
pascal@24069 | 25 { |
pascal@24069 | 26 wget -O - http://hg.slitaz.org/slitaz-arm/ 2>/dev/null | \ |
pascal@24069 | 27 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-arm/rev/|;s|<.*||' | \ |
pascal@24069 | 28 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 29 } |
pascal@24069 | 30 |
pankso@16341 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16341 | 32 genpkg_rules() |
pankso@16341 | 33 { |
pankso@16586 | 34 mkdir -p ${fs}/usr/sbin |
pankso@16460 | 35 case "$ARCH" in |
pankso@16586 | 36 i?86) |
pankso@16665 | 37 mkdir -p ${fs}/usr/bin \ |
pankso@16665 | 38 ${fs}/usr/share/applications \ |
pankso@16586 | 39 ${fs}/usr/share/pixmaps |
pankso@16586 | 40 cp -a ${src}/rpi/slitaz-rpi ${fs}/usr/bin |
pascal@19016 | 41 cp -a ${src}/rpi/tazbian ${fs}/usr/bin |
pascal@19016 | 42 cp -a ${src}/rpi/tazarch ${fs}/usr/bin |
pankso@16586 | 43 cp -a ${src}/rpi/data/slitaz-rpi.desktop \ |
pankso@16586 | 44 ${fs}/usr/share/applications |
pankso@16586 | 45 cp -a ${src}/rpi/data/raspberrypi.png \ |
pankso@16586 | 46 ${fs}/usr/share/pixmaps ;; |
pankso@16460 | 47 arm*) |
pankso@16460 | 48 mkdir -p ${fs}/var/www/adm |
pankso@16460 | 49 cp -a ${src}/rpi/rootfs/* ${fs} |
pankso@16674 | 50 # Tools |
pankso@16674 | 51 for tool in tazberry piboot pileds raspicomm piface pitft-setup \ |
pankso@16674 | 52 pibrella piborg/piborg |
pankso@16629 | 53 do |
pankso@16629 | 54 cp -a ${src}/rpi/${tool} ${fs}/usr/sbin |
pankso@16629 | 55 done |
pankso@16460 | 56 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm |
pankso@16460 | 57 chown -R root.root ${fs} ;; |
pankso@16460 | 58 esac |
pankso@16341 | 59 } |