wok diff php-sqlite/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | b10d41313e54 |
children |
line diff
1.1 --- a/php-sqlite/receipt Fri Mar 20 15:21:15 2020 +0100 1.2 +++ b/php-sqlite/receipt Tue Mar 01 13:55:15 2022 +0100 1.3 @@ -1,40 +1,46 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="php-sqlite" 1.7 -VERSION="7.3.16" 1.8 +VERSION="7.4.4" 1.9 CATEGORY="development" 1.10 SHORT_DESC="sqlite module for PHP web programming language." 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="BSD" 1.13 WEB_SITE="https://www.php.net/" 1.14 -WANTED="php" 1.15 1.16 DEPENDS="php sqlite" 1.17 +WANTED="php" 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 mkdir -p $fs/usr/share/php 1.23 - cp $(find $install | grep sqlite.so) $fs/usr/share/php/ 1.24 - cp $(find $install | grep sqlite3.so) $fs/usr/share/php/ 1.25 - cp $(find $install | grep pdo_sqlite.so) $fs/usr/share/php/ 1.26 + 1.27 + cp $(find $install | grep sqlite.so) $fs/usr/share/php/ 1.28 + cp $(find $install | grep sqlite3.so) $fs/usr/share/php/ 1.29 + cp $(find $install | grep pdo_sqlite.so) $fs/usr/share/php/ 1.30 } 1.31 1.32 post_install() 1.33 { 1.34 - grep -q ^extension=sqlite3.so "$1/etc/php.ini" || \ 1.35 - sed -e 's|extension=bz2.so|extension=bz2.so\nextension=sqlite3.so|' -i "$1/etc/php.ini" 1.36 + grep -q ^extension=sqlite3.so "$1/etc/php.ini" || 1.37 + sed -e 's|extension=bz2.so|extension=bz2.so\nextension=sqlite3.so|' \ 1.38 + -i "$1/etc/php.ini" 1.39 + 1.40 # Start Web server. 1.41 - while read daemon file; do 1.42 + while read daemon file 1.43 + do 1.44 [ -z "$1" ] || continue 1.45 - if [ -f "/var/run/$file" ]; then 1.46 + if [ -f "/var/run/$file" ] 1.47 + then 1.48 /etc/init.d/$daemon stop 1.49 sleep 2 1.50 fi 1.51 - if [ -f /etc/init.d/$daemon ]; then 1.52 + if [ -f /etc/init.d/$daemon ] 1.53 + then 1.54 /etc/init.d/$daemon start 1.55 fi 1.56 - done <<EOT 1.57 + done <<EOT 1.58 apache apache/httpd.pid 1.59 lighttpd lighttpd.pid 1.60 EOT 1.61 @@ -46,17 +52,20 @@ 1.62 sed -i '/.*=sqlite3.so.*/d' /etc/php.ini 1.63 1.64 # Start Web server. 1.65 - while read daemon file; do 1.66 + while read daemon file 1.67 + do 1.68 [ -z "$1" ] || continue 1.69 - if [ -f "/var/run/$file" ]; then 1.70 + if [ -f "/var/run/$file" ] 1.71 + then 1.72 /etc/init.d/$daemon stop 1.73 sleep 2 1.74 fi 1.75 - if [ -f /etc/init.d/$daemon ]; then 1.76 + if [ -f /etc/init.d/$daemon ] 1.77 + then 1.78 /etc/init.d/$daemon start 1.79 fi 1.80 - done <<EOT 1.81 + done <<EOT 1.82 apache apache/httpd.pid 1.83 lighttpd lighttpd.pid 1.84 EOT 1.85 -} 1.86 \ No newline at end of file 1.87 +}