Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
diff --git a/debian/control b/debian/control
index 9cd32dd4..afe2cd87 100644
--- a/debian/control
+++ b/debian/control
@@ -1,27 +1,28 @@
Source: php-mongodb
Section: php
Priority: optional
Maintainer: Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>
Uploaders: Ondřej Surý <ondrej@debian.org>
-Build-Conflicts: libmongoc-priv-dev, libmongoc-dev
+Build-Conflicts: libbson-dev,
+ libmongoc-dev,
+ libmongoc-priv-dev
Build-Depends: debhelper (>= 9~),
dh-php (>= 0.7~),
- libbson-dev (>= 1.3.3),
libpcre3-dev,
libsasl2-dev,
php-all-dev,
pkg-config
Standards-Version: 3.9.6
Homepage: https://pecl.php.net/package/mongodb
Package: php-mongodb
Architecture: any
Depends: ucf,
${misc:Depends},
${php:Depends},
${shlibs:Depends}
Description: MongoDB driver for PHP
The purpose of this driver is to provide exceptionally thin glue
between MongoDB and PHP, implementing only fundemental and
performance-critical components necessary to build a fully-functional
MongoDB driver.
diff --git a/debian/rules b/debian/rules
index 7e2c9622..e304bdb9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,40 +1,40 @@
#!/usr/bin/make -f
SHELL=/bin/sh -e
PECL_NAME := $(shell dpkg-parsechangelog -SSource | sed -e s/php-//)
SOURCE_DIR := $(shell ls -1d $(PECL_NAME)-*)
INSTALL_ROOT := $(CURDIR)/debian/php-$(PECL_NAME)
PHP_VERSIONS := $(shell /usr/sbin/phpquery -V)
%:
dh $@ --with php --sourcedirectory=$(SOURCE_DIR)
override_dh_auto_configure:
for v in $(PHP_VERSIONS); do \
cp -a $(CURDIR)/$(SOURCE_DIR) $(CURDIR)/build-$$v; \
cd $(CURDIR)/build-$$v; \
phpize$$v; \
done
cd $(SOURCE_DIR) && phpize
for v in $(PHP_VERSIONS); do \
- dh_auto_configure --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR) -- --enable-$(PECL_NAME) --with-php-config=/usr/bin/php-config$$v --with-libbson; \
+ dh_auto_configure --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR) -- --enable-$(PECL_NAME) --with-php-config=/usr/bin/php-config$$v --without-libbson --without-libmongoc; \
done
override_dh_auto_build:
for v in $(PHP_VERSIONS); do \
dh_auto_build --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR); \
done
override_dh_auto_install:
for v in $(PHP_VERSIONS); do \
dh_auto_install --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR) -- INSTALL_ROOT=$(INSTALL_ROOT); \
done
override_dh_auto_clean:
for v in $(PHP_VERSIONS); do \
dh_auto_clean --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR); \
rm -rf $(CURDIR)/build-$$v; \
done
cd $(SOURCE_DIR) && phpize --clean

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jun 16, 12:21 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70420
Default Alt Text
(2 KB)

Event Timeline