wok view slitaz-arm-adm/receipt @ rev 19259
nano: split nano-doc with man pages and docs, shrink *.nanorc files (-9KB uncompressed)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 03 13:47:30 2016 +0300 (2016-07-03) |
parents | dfef8de3d270 |
children | 7e911016a644 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-arm-adm"
4 VERSION="212"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz ARM CGI administration interface."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://arm.slitaz.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2"
12 HOST_ARCH="i486 arm"
14 DEPENDS="busybox slitaz-base-files"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p ${fs}/var/www
20 cp -a ${src}/cgi-adm ${fs}/var/www/adm
21 }
23 # SliTaz RPi files are over written so reinstall pkg
24 post_install()
25 {
26 if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then
27 chroot "$1/" spk-add slitaz-arm-rpi --forced
28 fi
29 }