wok-next view shellinabox/receipt @ rev 21405

updated php again (7.4.4 -> 7.4.5)
author Hans-G?nter Theisgen
date Tue Apr 21 10:56:40 2020 +0100 (2020-04-21)
parents 10df65db91ad
children 71c5213b8b1d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="shellinabox"
4 VERSION="2.14"
5 CATEGORY="network"
6 SHORT_DESC="Web based AJAX terminal emulator"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://code.google.com/archive/p/shellinabox/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shellinabox/$TARBALL"
14 BUILD_DEPENDS="zlib-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 fix libtool &&
19 make &&
20 make DESTDIR=$install install || return 1
22 mkdir -p \
23 $install/usr/share/shellinabox/ \
24 $install/etc/init.d/
25 cp $install/usr/share/doc/shellinabox/*black*.css $install/usr/share/shellinabox/
26 cp $stuff/*.css $install/usr/share/shellinabox/
27 cp $stuff/shellinabox $install/etc/init.d/
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="zlib"
33 SUGGESTED="ssh knock"
34 TAGS="web application"
35 }
37 # We stop the server by default in case of upgarde.
38 pre_install() {
39 [ -z "$1" ] && [ -f /etc/init.d/shellinabox ] && /etc/init.d/shellinabox stop
40 }
42 post_install() {
43 [ "$1" ] || /etc/init.d/shellinabox start
44 }
46 pre_remove() {
47 [ "$1" ] || /etc/init.d/shellinabox stop
48 }