wok-current 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 | 3bf809ba9d85 |
children | e48fb758c6d8 |
files | slitaz-arm-adm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-arm-adm/receipt Sat Apr 12 12:20:54 2014 +0200 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slitaz-arm-adm" 1.7 +VERSION="hg-1" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="SliTaz ARM CGI administration interface." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://arm.slitaz.org/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/tip.tar.bz2" 1.15 +HOST_ARCH="i486 arm" 1.16 + 1.17 +DEPENDS="busybox slitaz-base-files" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p ${fs}/var/www 1.23 + cp -a ${src}/cgi-adm ${fs}/var/www/adm 1.24 +} 1.25 + 1.26 +# SliTaz RPi files are over written so reinstall pkg 1.27 +post_install() 1.28 +{ 1.29 + if [ -d "/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then 1.30 + spk-add slitaz-arm-rpi --forced 1.31 + fi 1.32 +}