~peter-pearse/ubuntu/natty/ossp-uuid/prop001

« back to all changes in this revision

Viewing changes to debian/packages

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2007-10-21 13:08:30 UTC
  • mfrom: (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071021130830-shtlogpt677xqzh1
Tags: 1.5.1-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Drop php4-uuid, since php4 is obsolete and scheduled for removal from
  testing.  Closes: #418310.
* Fix the invocation of the php test to load uuid.so via a commandline 
  config directive, since we can't trust that the php5-cli package
  supports dl().

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
Source: ossp-uuid
23
23
Section: libs
24
24
Priority: optional
25
 
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
26
 
XSBC-Original-Maintainer: Piotr Roszatycki <dexter@debian.org>
 
25
Maintainer: Piotr Roszatycki <dexter@debian.org>
27
26
Standards-Version: 3.7.2
28
27
Upstream-Source: <URL:ftp://ftp.ossp.org/pkg/lib/uuid/uuid-([0-9.]+)\.tar.gz>
29
28
Home-Page: <URL:http://www.ossp.org/pkg/lib/uuid/>
112
111
 .
113
112
 pushd php
114
113
     phpize5
115
 
     for php in 5; do
116
 
         mkdir build-php$php
117
 
         pushd build-php$php
118
 
             CC="$CC" CFLAGS="$CFLAGS -I../.. -L../.. -L../../.libs" \
119
 
             ../configure \
120
 
                 --cache-file=../config.cache \
121
 
                 --enable-uuid \
122
 
                 --disable-static \
123
 
                 --with-php-config=php-config$php
124
 
             make
125
 
         popd
 
114
     mkdir build-php5
 
115
     pushd build-php5
 
116
         CC="$CC" CFLAGS="$CFLAGS -I../.. -L../.. -L../../.libs" \
 
117
         ../configure \
 
118
             --cache-file=../config.cache \
 
119
             --enable-uuid \
 
120
             --disable-static \
 
121
             --with-php-config=php-config5
 
122
         make
 
123
     popd
126
124
%if %{without_no_test}
127
 
         LD_LIBRARY_PATH=`pwd`/../.libs \
128
 
         php$php -q -d "safe_mode=0" -d "extension_dir=./build-php$php" uuid.ts $php
 
125
     LD_LIBRARY_PATH=`pwd`/../.libs \
 
126
     php5 -q -d "safe_mode=0" -d "extension=modules/uuid.so" -d "extension_dir=./build-php5" uuid.ts 5
129
127
%endif
130
 
     done
131
128
 popd
132
129
 .
133
130
 echo "php:php5-uuid:Depends=phpapi-`php-config5 --phpapi`" >> debian/substvars