core: add PHP plugin in Cygwin packaging

This commit is contained in:
Sébastien Helleu 2017-10-08 14:06:18 +02:00
parent 8a32249507
commit bbfdec0600

View File

@ -53,7 +53,7 @@ SRC_URI="https://weechat.org/files/src/weechat-${VERSION}.tar.bz2"
# Build dependencies only # Build dependencies only
DEPEND="cmake gettext gettext-devel libgnutls-devel libaspell-devel \ DEPEND="cmake gettext gettext-devel libgnutls-devel libaspell-devel \
libcurl-devel libgcrypt-devel libncurses-devel lua perl pkg-config \ libcurl-devel libgcrypt-devel libncurses-devel lua perl pkg-config \
python2-devel ruby tcl-devel libguile2.0-devel zlib-devel" python2-devel ruby tcl-devel libguile2.0-devel php-devel zlib-devel"
# #
# CMake compilation of WeeChat: # CMake compilation of WeeChat:
@ -65,7 +65,7 @@ CYGCMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MAN=ON -DENABLE_DOC=ON \
-DENABLE_JAVASCRIPT=OFF" -DENABLE_JAVASCRIPT=OFF"
# #
# Build 9 Cygwin packages: # Build 10 Cygwin packages:
# weechat # weechat
# weechat-python # weechat-python
# weechat-perl # weechat-perl
@ -73,12 +73,13 @@ CYGCMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MAN=ON -DENABLE_DOC=ON \
# weechat-lua # weechat-lua
# weechat-tcl # weechat-tcl
# weechat-guile # weechat-guile
# weechat-php
# weechat-devel # weechat-devel
# weechat-doc # weechat-doc
# #
PKG_NAMES="${PN} ${PN}-python ${PN}-perl ${PN}-ruby ${PN}-lua ${PN}-tcl \ PKG_NAMES="${PN} ${PN}-python ${PN}-perl ${PN}-ruby ${PN}-lua ${PN}-tcl \
${PN}-guile ${PN}-devel ${PN}-doc" ${PN}-guile ${PN}-php ${PN}-devel ${PN}-doc"
PKG_HINTS="setup python perl ruby lua tcl guile devel doc" PKG_HINTS="setup python perl ruby lua tcl guile php devel doc"
# #
# Package "weechat": binary, all plugins except scripting languages, # Package "weechat": binary, all plugins except scripting languages,
@ -162,6 +163,14 @@ weechat_guile_DESCRIPTION="Guile scripting plugin for WeeChat"
weechat_guile_CONTENTS="usr/lib/weechat/plugins/guile.dll" weechat_guile_CONTENTS="usr/lib/weechat/plugins/guile.dll"
weechat_guile_REQUIRES="weechat" weechat_guile_REQUIRES="weechat"
#
# Package "weechat-php": php scripting plugin
#
weechat_php_SUMMARY="PHP scripting plugin for WeeChat"
weechat_php_DESCRIPTION="PHP scripting plugin for WeeChat"
weechat_php_CONTENTS="usr/lib/weechat/plugins/php.dll"
weechat_php_REQUIRES="weechat"
# #
# Package "weechat-devel": header to build plugins # Package "weechat-devel": header to build plugins
# #