File: rules

package info (click to toggle)
nexus 4.4.3-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,876 kB
  • sloc: cpp: 34,928; ansic: 17,317; f90: 2,326; xml: 2,071; java: 1,953; fortran: 1,529; python: 766; makefile: 532; sh: 460; tcl: 173; lisp: 169
file content (16 lines) | stat: -rwxr-xr-x 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Enable additional hardening options.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem cmake

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_HDF5=1 -DENABLE_HDF4=1 -DENABLE_APPS=1 -DENABLE_CXX=1 -DENABLE_JAVA=1 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
# 	-DENABLE_MXML=1
# mxml 3.x breaks nexus, so disable it
# see https://github.com/nexusformat/code/issues/465

override_dh_makeshlibs:
	dh_makeshlibs -X /usr/lib/jni