wok-6.x diff phpeasyvcs/receipt @ rev 25424
updated x265 and x265-dev (3.2 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:24:15 2022 +0100 (2022-08-18) |
parents | 15650f5d595b |
children | 7dd01dedad38 |
line diff
1.1 --- a/phpeasyvcs/receipt Fri Sep 17 10:35:57 2021 +0000 1.2 +++ b/phpeasyvcs/receipt Thu Aug 18 16:24:15 2022 +0100 1.3 @@ -2,12 +2,13 @@ 1.4 1.5 PACKAGE="phpeasyvcs" 1.6 SOURCE="phpEasyVCS" 1.7 -VERSION="1.0" 1.8 +VERSION="2.0" 1.9 CATEGORY="network" 1.10 SHORT_DESC="A simple version control system (VCS) and WebDAV server." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL3" 1.13 WEB_SITE="http://phpeasyvcs.sourceforge.net/" 1.14 + 1.15 TARBALL="$SOURCE-$VERSION.zip" 1.16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 1.18 @@ -22,32 +23,38 @@ 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 - cd $src 1.23 + : 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 mkdir -p $fs/usr/share 1.30 - cp -a $src $fs/usr/share/phpeasyvcs 1.31 + cp -a $src $fs/usr/share/phpeasyvcs 1.32 } 1.33 1.34 post_install() 1.35 { 1.36 # Configure lighttpd server 1.37 - if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 1.38 - if ! grep -q /usr/share/phpeasyvcs/ "$1/etc/lighttpd/lighttpd.conf"; then 1.39 + if [ -f "$1/etc/lighttpd/lighttpd.conf" ] 1.40 + then 1.41 + if ! grep -q /usr/share/phpeasyvcs/ "$1/etc/lighttpd/lighttpd.conf" 1.42 + then 1.43 sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phpeasyvcs/" => "/usr/share/phpeasyvcs/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 1.44 - if [ -z "$1" ]; then 1.45 + if [ -z "$1" ] 1.46 + then 1.47 # Start Web server. 1.48 /etc/init.d/lighttpd stop 1.49 /etc/init.d/lighttpd start 1.50 fi 1.51 fi 1.52 fi 1.53 + 1.54 # Configure apache server 1.55 - if [ -f "$1/etc/apache/httpd.conf" ]; then 1.56 - if [ ! -f "$1/etc/apache/conf.d/phpeasyvcs" ]; then 1.57 + if [ -f "$1/etc/apache/httpd.conf" ] 1.58 + then 1.59 + if [ ! -f "$1/etc/apache/conf.d/phpeasyvcs" ] 1.60 + then 1.61 cat > "$1/etc/apache/conf.d/phpeasyvcs" <<EOT 1.62 <IfModule mod_alias.c> 1.63 Alias /phpeasyvcs /usr/share/phpeasyvcs 1.64 @@ -60,7 +67,8 @@ 1.65 Allow from all 1.66 </Directory> 1.67 EOT 1.68 - if [ -z "$1" ]; then 1.69 + if [ -z "$1" ] 1.70 + then 1.71 # Start Web server. 1.72 /etc/init.d/apache stop 1.73 /etc/init.d/apache start