~ubuntu-branches/ubuntu/trusty/php-memcache/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-03-13 21:42:19 UTC
  • Revision ID: james.westby@ubuntu.com-20070313214219-q3hs4s73cul0phwi
Tags: 2.0.1-1ubuntu1
* Don't build a php4 module anymore.
* debian/control: Change Maintainer/XSBC-Original-Maintainer field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
include /usr/share/cdbs/1/rules/tarball.mk
6
6
include /usr/share/cdbs/1/rules/debhelper.mk
7
7
 
8
 
PHP_EX4=$(shell /usr/bin/php-config4 --extension-dir)
9
8
PHP_EX5=$(shell /usr/bin/php-config5 --extension-dir)
10
9
 
11
 
DEB_INSTALL_EXAMPLES_php4-memcache = $(DEB_SRCDIR)/example.php
12
10
DEB_INSTALL_EXAMPLES_php5-memcache = $(DEB_SRCDIR)/example.php
13
11
 
14
12
#
23
21
# cdbs things
24
22
#
25
23
 
26
 
install/php4-memcache:: configure_for_php4
27
 
        chmod a-x $(DEB_SRCDIR)/example.php
28
 
        $(MAKE) -C $(DEB_SRCDIR)
29
 
        mkdir -p debian/php4-memcache$(PHP_EX4)
30
 
        install -m 644 -o root -g root $(DEB_SRCDIR)/modules/memcache.so debian/php4-memcache$(PHP_EX4)/memcache.so
31
 
        mkdir -p debian/php4-memcache/usr/share/lintian/overrides
32
 
        echo "php-memcache: no-shlibs-control-file $(PHP_EX4)/memcache.so" > debian/php4-memcache/usr/share/lintian/overrides/php4-memcache
33
 
        echo "php4:Depends=phpapi-`php-config4 --phpapi`, php4-common" >> debian/php4-memcache.substvars
34
 
 
35
24
install/php5-memcache:: configure_for_php5
36
25
        chmod a-x $(DEB_SRCDIR)/example.php
37
26
        $(MAKE) -C $(DEB_SRCDIR)