wok annotate slitaz-arm-adm/receipt @ rev 24934
updated musl-libc and musl-libc-dev (1.2.2 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 17:42:49 2022 +0100 (2022-04-13) |
parents | d6aaea06354b |
children |
rev | line source |
---|---|
pankso@16337 | 1 # SliTaz package receipt. |
pankso@16337 | 2 |
pankso@16337 | 3 PACKAGE="slitaz-arm-adm" |
pascal@19017 | 4 VERSION="212" |
pankso@16337 | 5 CATEGORY="base-system" |
pankso@16337 | 6 SHORT_DESC="SliTaz ARM CGI administration interface." |
pankso@16337 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16337 | 8 LICENSE="BSD" |
pankso@16337 | 9 WEB_SITE="http://arm.slitaz.org/" |
pankso@16337 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@19017 | 11 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2" |
pankso@16337 | 12 HOST_ARCH="i486 arm" |
pankso@16337 | 13 |
pankso@16337 | 14 DEPENDS="busybox slitaz-base-files" |
pankso@16337 | 15 |
pascal@24069 | 16 current_version() |
pascal@24069 | 17 { |
pascal@24069 | 18 wget -O - http://hg.slitaz.org/slitaz-arm/ 2>/dev/null | \ |
pascal@24069 | 19 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-arm/rev/|;s|<.*||' | \ |
pascal@24069 | 20 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 21 } |
pascal@24069 | 22 |
pankso@16337 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16337 | 24 genpkg_rules() |
pankso@16337 | 25 { |
pankso@16337 | 26 mkdir -p ${fs}/var/www |
pankso@16337 | 27 cp -a ${src}/cgi-adm ${fs}/var/www/adm |
pankso@16337 | 28 } |
pankso@16337 | 29 |
pankso@16337 | 30 # SliTaz RPi files are over written so reinstall pkg |
pankso@16337 | 31 post_install() |
pankso@16337 | 32 { |
pascal@17552 | 33 if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then |
pascal@17552 | 34 chroot "$1/" spk-add slitaz-arm-rpi --forced |
pankso@16337 | 35 fi |
pankso@16337 | 36 } |