wok-next view slitaz-arm-adm/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | d6aaea06354b |
children | cd7906120828 |
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"
13 DEPENDS="busybox slitaz-base-files"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p ${fs}/var/www
19 cp -a ${src}/cgi-adm ${fs}/var/www/adm
20 }
22 # SliTaz RPi files are over written so reinstall pkg
23 post_install()
24 {
25 if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then
26 chroot "$1/" spk-add slitaz-arm-rpi --forced
27 fi
28 }