wok-next view slitaz-arm-adm/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | cd7906120828 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="slitaz-arm-adm"
4 VERSION="212"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz ARM CGI administration interface"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://arm.slitaz.org/"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2"
15 genpkg_rules() {
16 mkdir -p $fs/var/www
17 cp -a $src/cgi-adm $fs/var/www/adm
18 DEPENDS="busybox slitaz-base-files"
19 }
21 # SliTaz RPi files are over written so reinstall pkg
22 post_install() {
23 if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then
24 chroot "$1/" spk-add slitaz-arm-rpi --forced
25 fi
26 }