wok-current annotate slitaz-arm-adm/receipt @ rev 19537
Up firefox-official (50.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 01 21:07:54 2016 +0200 (2016-12-01) |
parents | dfef8de3d270 |
children | 7e911016a644 |
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 |
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 } |