wok-current annotate slitaz-arm-adm/receipt @ rev 16805

Up hastapd (2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 06 10:56:03 2014 +0200 (2014-07-06)
parents c6f732574896
children dfef8de3d270
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 {
pankso@16337 26 if [ -d "/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then
pankso@16337 27 spk-add slitaz-arm-rpi --forced
pankso@16337 28 fi
pankso@16337 29 }