~ubuntu-branches/ubuntu/trusty/liblas/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2014-01-05 17:00:29 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140105170029-ddtp0j63x5jvck2u
Tags: 1.7.0+dfsg-2
Fixed missing linking of system boost component.
(closes: #733282)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
export CFLAGS += $(shell pkg-config --cflags libtiff-4)
4
 
export CXXFLAGS += $(shell pkg-config --cflags libtiff-4)
5
 
export LDFLAGS += $(shell pkg-config --libs-only-L libtiff-4)
6
 
 
7
 
include /usr/share/cdbs/1/rules/debhelper.mk
8
 
include /usr/share/cdbs/1/class/autotools.mk
9
 
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
10
 
 
11
 
DEB_CONFIGURE_EXTRA_FLAGS = --with-gdal=/usr/bin/gdal-config --with-geotiff=/usr
12
 
DEB_MAKE_CHECK_TARGET = check
13
 
 
14
 
install/liblas1::
15
 
        chrpath -d debian/tmp/usr/lib/liblas.so.1.0.0
 
 
b'\\ No newline at end of file'
 
3
%:
 
4
        dh $@ \
 
5
                -Scmake
 
6
 
 
7
override_dh_auto_configure:
 
8
        dh_auto_configure -Scmake -- \
 
9
                -DWITH_GDAL=TRUE \
 
10
                -DWITH_GEOTIFF=TRUE \
 
11
                -DGEOTIFF_INCLUDE_DIR=/usr/include/geotiff
 
12
 
 
13
override_dh_install:
 
14
        dh_install
 
15
 
 
16
        # remove capi from liblas-dev
 
17
        rm -vrf $(CURDIR)/debian/liblas-dev/usr/include/liblas/capi/
 
18
 
 
19
override_dh_auto_test:
 
20
        # don't run tests