wok-current view slitaz-arm-adm/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
parents | d6aaea06354b |
children |
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 current_version()
17 {
18 wget -O - http://hg.slitaz.org/slitaz-arm/ 2>/dev/null | \
19 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-arm/rev/|;s|<.*||' | \
20 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p ${fs}/var/www
27 cp -a ${src}/cgi-adm ${fs}/var/www/adm
28 }
30 # SliTaz RPi files are over written so reinstall pkg
31 post_install()
32 {
33 if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then
34 chroot "$1/" spk-add slitaz-arm-rpi --forced
35 fi
36 }