File: rules

package info (click to toggle)
libcgns 3.1.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,772 kB
  • sloc: ansic: 85,814; tcl: 8,311; sh: 6,261; fortran: 1,983; makefile: 425
file content (31 lines) | stat: -rwxr-xr-x 751 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f
# Copyright 2008 Sylvestre Ledru <sylvestre.ledru@inria.fr>

include /usr/share/cdbs/1/class/cmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

CFLAGS+="-I/usr/include/mpi/"

DEB_CMAKE_EXTRA_FLAGS += -DENABLE_64BIT=OFF -DENABLE_HDF5=ON \
 -DENABLE_LEGACY=ON -DENABLE_SCOPING=ON


DEB_CONFIGURE_NORMAL_ARGS += --enable-shared=all --with-hdf5=/usr \
	--with-szip --enable-lfs --enable-debug

ifeq ($(DEB_BUILD_ARCH),hppa)
  DEB_CONFIGURE_NORMAL_ARGS += --disable-64bit
else 
  DEB_CONFIGURE_NORMAL_ARGS += --enable-64bit
endif



install/libcgns-dev::
#	for file in $(DEB_DESTDIR)/usr/lib/* ; do \
#		chrpath -d $$file; \
#	done

get-orig-source:
	uscan --force-download --rename