wok-current annotate slitaz-arm-adm/receipt @ rev 18966
gmerlin: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 07:40:00 2016 +0100 (2016-03-11) |
parents | 365cbf7fa47a |
children | d6aaea06354b |
rev | line source |
---|---|
pankso@16337 | 1 # SliTaz package receipt. |
pankso@16337 | 2 |
pankso@16337 | 3 PACKAGE="slitaz-arm-adm" |
pankso@16629 | 4 VERSION="1.0.0" |
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" |
pankso@16337 | 11 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/tip.tar.bz2" |
pankso@16337 | 12 HOST_ARCH="i486 arm" |
pankso@16337 | 13 |
pankso@16337 | 14 DEPENDS="busybox slitaz-base-files" |
pankso@16337 | 15 |
pankso@16337 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16337 | 17 genpkg_rules() |
pankso@16337 | 18 { |
pankso@16337 | 19 mkdir -p ${fs}/var/www |
pankso@16337 | 20 cp -a ${src}/cgi-adm ${fs}/var/www/adm |
pankso@16337 | 21 } |
pankso@16337 | 22 |
pankso@16337 | 23 # SliTaz RPi files are over written so reinstall pkg |
pankso@16337 | 24 post_install() |
pankso@16337 | 25 { |
pascal@17552 | 26 if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then |
pascal@17552 | 27 chroot "$1/" spk-add slitaz-arm-rpi --forced |
pankso@16337 | 28 fi |
pankso@16337 | 29 } |