~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
major=`ls src/.libs/lib*.so.* | \
33
33
 awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
34
34
 
35
 
phpapiver=$(shell php-config4 --phpapi)
36
 
 
37
35
config.status: configure
38
36
        dh_testdir
39
37
        # Add here commands to configure the package.
40
 
        CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-tests=no --disable-gtk-doc --disable-perl --disable-csharp
 
38
        CC=gcc-4.2 CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-tests=no --disable-gtk-doc --disable-perl --disable-csharp --disable-php4
41
39
        # be sure not to call swig:
42
 
        touch php/lasso_wrap.c php/php_lasso.h php/lasso.php
43
40
        touch python/lasso_wrap.c python/lasso.py
44
41
        touch perl/lasso_wrap.c perl/lasso.pm
45
42
        touch java/lasso_wrap.c java/lasso.java
120
117
        dh_compress
121
118
        dh_fixperms
122
119
        dh_makeshlibs -a -V
123
 
        #dh_clideps -L liblasso-cil -r -d
124
120
        dh_installdeb
125
121
        dh_shlibdeps -a
126
122
        dh_gencontrol