Projects
Kolab:16
libkolabxml
debian.rules
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package libkolabxml (Revision 3)
Currently displaying revision
3
,
Show latest
#!/usr/bin/make -f PHPAPI := $(shell php-config --phpapi) PHPEXT := $(shell php-config --extension-dir) PHPINC := $(shell php-config --include-dir) PYTHON_SITEARCH := $(shell python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)') # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 export DH_OPTIONS=-v export DEB_LDFLAGS_MAINT_APPEND="-Wl,--as-needed" %: dh $@ --parallel --with python2 override_dh_gencontrol: echo "php:Depends=phpapi-${PHPAPI}" >> debian/php-kolabformat.substvars dh_gencontrol override_dh_auto_configure: if [ $$(php-config --vernum) -gt 70000 ]; then \ sed -i -e 's/-c++ -php/-c++ -php7/g' src/php/CMakeLists.txt ; \ fi dh_auto_configure -- \ -DSWIG=/usr/bin/swig \ -DPHP_BINDINGS=ON \ -DPHP_INCLUDE_DIR=$(PHPINC) \ -DPYTHON_BINDINGS=ON \ -DPYTHON_INSTALL_DIR=$(PYTHON_SITEARCH) override_dh_install: mkdir -p debian/tmp/usr/share/php if [ -d "/etc/php/7.0/mods-available/" ]; then \ echo "debian/kolabformat.ini etc/php/7.0/mods-available" >> debian/php-kolabformat.install ; \ elif [ -d "/etc/php/mods-available/" ]; then \ echo "debian/kolabformat.ini etc/php/mods-available" >> debian/php-kolabformat.install ; \ else \ echo "debian/kolabformat.ini etc/php5/mods-available" >> debian/php-kolabformat.install ; \ fi mv debian/tmp/usr/lib/php*/$(PHPAPI)/kolabformat.php debian/tmp/usr/share/php/kolabformat.php dh_install --list-missing
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.