wok-next diff slitaz-arm-adm/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | cd7906120828 |
children |
line diff
1.1 --- a/slitaz-arm-adm/receipt Sat Jul 14 17:43:03 2018 +0300 1.2 +++ b/slitaz-arm-adm/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -1,10 +1,10 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="slitaz-arm-adm" 1.8 VERSION="212" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="SliTaz ARM CGI administration interface." 1.11 -MAINTAINER="pankso@slitaz.org" 1.12 +SHORT_DESC="SliTaz ARM CGI administration interface" 1.13 +MAINTAINER="devel@slitaz.org" 1.14 LICENSE="BSD" 1.15 WEB_SITE="http://arm.slitaz.org/" 1.16 REPOLOGY="-" 1.17 @@ -12,18 +12,14 @@ 1.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/$VERSION.tar.bz2" 1.20 1.21 -DEPENDS="busybox slitaz-base-files" 1.22 - 1.23 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 -genpkg_rules() 1.25 -{ 1.26 - mkdir -p ${fs}/var/www 1.27 - cp -a ${src}/cgi-adm ${fs}/var/www/adm 1.28 +genpkg_rules() { 1.29 + mkdir -p $fs/var/www 1.30 + cp -a $src/cgi-adm $fs/var/www/adm 1.31 + DEPENDS="busybox slitaz-base-files" 1.32 } 1.33 1.34 # SliTaz RPi files are over written so reinstall pkg 1.35 -post_install() 1.36 -{ 1.37 +post_install() { 1.38 if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then 1.39 chroot "$1/" spk-add slitaz-arm-rpi --forced 1.40 fi