wok-next rev 21448
updated shellinabox (2.14 -> 2.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 07:24:29 2020 +0100 (2020-05-07) |
parents | f796a7c14efd |
children | 41e89ec51d5b |
files | shellinabox/receipt |
line diff
1.1 --- a/shellinabox/receipt Tue May 05 17:33:00 2020 +0100 1.2 +++ b/shellinabox/receipt Thu May 07 07:24:29 2020 +0100 1.3 @@ -1,48 +1,55 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="shellinabox" 1.7 -VERSION="2.14" 1.8 +VERSION="2.20" 1.9 CATEGORY="network" 1.10 +TAGS="web application" 1.11 SHORT_DESC="Web based AJAX terminal emulator" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -WEB_SITE="https://code.google.com/archive/p/shellinabox/" 1.15 +WEB_SITE="https://github.com/shellinabox/shellinabox" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shellinabox/$TARBALL" 1.19 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz 1.20 1.21 BUILD_DEPENDS="zlib-dev" 1.22 1.23 -compile_rules() { 1.24 +compile_rules() 1.25 +{ 1.26 ./configure $CONFIGURE_ARGS && 1.27 fix libtool && 1.28 make && 1.29 make DESTDIR=$install install || return 1 1.30 1.31 - mkdir -p \ 1.32 - $install/usr/share/shellinabox/ \ 1.33 - $install/etc/init.d/ 1.34 - cp $install/usr/share/doc/shellinabox/*black*.css $install/usr/share/shellinabox/ 1.35 - cp $stuff/*.css $install/usr/share/shellinabox/ 1.36 - cp $stuff/shellinabox $install/etc/init.d/ 1.37 + mkdir -p $install/usr/share/shellinabox 1.38 + mkdir -p $install/etc/init.d 1.39 + 1.40 + cp $install/usr/share/doc/shellinabox/*black*.css $install/usr/share/shellinabox 1.41 + cp $stuff/*.css $install/usr/share/shellinabox 1.42 + cp $stuff/shellinabox $install/etc/init.d 1.43 } 1.44 1.45 -genpkg_rules() { 1.46 +genpkg_rules() 1.47 +{ 1.48 copy @std 1.49 DEPENDS="zlib" 1.50 SUGGESTED="ssh knock" 1.51 - TAGS="web application" 1.52 } 1.53 1.54 -# We stop the server by default in case of upgarde. 1.55 -pre_install() { 1.56 - [ -z "$1" ] && [ -f /etc/init.d/shellinabox ] && /etc/init.d/shellinabox stop 1.57 +# We stop the server by default in case of upgrade. 1.58 +pre_install() 1.59 +{ 1.60 + [ -z "$1" ] && [ -f /etc/init.d/shellinabox ] && 1.61 + /etc/init.d/shellinabox stop 1.62 } 1.63 1.64 -post_install() { 1.65 +post_install() 1.66 +{ 1.67 [ "$1" ] || /etc/init.d/shellinabox start 1.68 } 1.69 1.70 -pre_remove() { 1.71 +pre_remove() 1.72 +{ 1.73 [ "$1" ] || /etc/init.d/shellinabox stop 1.74 }