# SliTaz package receipt. PACKAGE="php-curl" VERSION="7.4.33" CATEGORY="development" SHORT_DESC="curl module for PHP web programming language." MAINTAINER="jozee@slitaz.org" LICENSE="BSD" WEB_SITE="https://www.php.net/" DEPENDS="curl php" WANTED="php" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/php cp $(find $install | grep curl.so) $fs/usr/share/php } # Post and pre install commans to stop # and restart Web server if needed. pre_install() { while read daemon file do if [ -z "$1" -a -f "/var/run/$file" ] then /etc/init.d/$daemon stop fi done <