File: rules

package info (click to toggle)
ruby-hdfeos5 1.2-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,164 kB
  • sloc: ansic: 12,844; ruby: 2,809; makefile: 14
file content (18 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
  export HDF5_DIR := /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
else
  export HDF5_DIR := /usr
endif

ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/libhe5_hdfeos.so),)
  export HE5_HDF_LIBDIR := /usr/lib/$(DEB_HOST_MULTIARCH)/
else
  export HE5_HDF_LIBDIR := /usr
endif
export HE5_HDF_INCDIR := /usr/include/hdf-eos5

%:
	@echo $(HDF5_DIR)
	dh $@ --buildsystem ruby