wok-6.x annotate slitaz-arm-adm/receipt @ rev 16337
Add slitaz-arm-adm (Can be used on other arch)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 12:20:54 2014 +0200 (2014-04-12) |
parents | |
children | 37ab4393a6c7 |
rev | line source |
---|---|
pankso@16337 | 1 # SliTaz package receipt. |
pankso@16337 | 2 |
pankso@16337 | 3 PACKAGE="slitaz-arm-adm" |
pankso@16337 | 4 VERSION="hg-1" |
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 } |