~ubuntu-branches/ubuntu/raring/clucene-core/raring-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2012-08-11 09:33:38 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120811093338-fgrx41ftqew3qt6a
Tags: 2.3.3.4-1
* New upstream release (Closes: #661703).
* Convert package to multiarch.
* Drop obsolete patches:
  - 01_add_missing_include_bug505667.diff
  - 02_posixness_fix_bug530308.diff
* Add patches:
  - Fixing_ZLIB_configuration_in_shared_CMakeLists.patch
  - Fix-pkgconfig-file-by-adding-clucene-shared-library.patch
  - Install-contribs-lib.patch
  - multiarch.patch
* Update debian/compat: bump to 8.
* Update debian/control:
  - update build dependencies (add cmake, libboost-dev and libz-dev).
  - bump Standards-Version to 3.9.3.
  - rename packages due to ABI bump: libclucene0ldbl -> libclucene-core1.
  - add libclucene-contribs1 package.
* Update debian/rules:
  - rewrite to use CMake.
  - add multiarch support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
# Uncomment this to turn on verbose mode.
 
4
#export DH_VERBOSE=1
 
5
 
 
6
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
7
 
 
8
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 
9
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 
10
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
 
11
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
12
 
3
13
%:
4
 
        dh --with quilt $@
 
14
        dh $@ --list-missing --parallel
5
15
 
6
16
override_dh_auto_configure:
7
 
        CFLAGS="$(CFLAGS) -ansi" CXXFLAGS="$(CXXFLAGS) -ansi" dh_auto_configure
 
17
        dh_auto_configure -- \
 
18
        -DBUILD_CONTRIBS_LIB=ON \
 
19
        -DLIB_DESTINATION:PATH=/usr/lib/$(DEB_HOST_MULTIARCH) \
 
20
        -DLUCENE_SYS_INCLUDES:PATH=/usr/lib/$(DEB_HOST_MULTIARCH)
8
21
 
9
22
override_dh_makeshlibs:
10
23
        dh_makeshlibs -V
11
24
 
12
 
.PHONY: override_dh_auto_test
 
25
override_dh_auto_test: