File: rules

package info (click to toggle)
fpzip 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 284 kB
  • sloc: cpp: 1,461; ansic: 488; makefile: 66
file content (20 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DH_VERBOSE=1


# The magic debhelper  rule
%:
	dh $@ --buildsystem=cmake

DESTDIR=$(CURDIR)/debian/tmp/
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)

export LD_LIBRARY_PATH:=$(CURDIR)/obj-$(DEB_HOST_MULTIARCH)/lib/$(DEB_HOST_MULTIARCH):$(LD_LIBRARY_PATH)

override_dh_auto_configure:
	dh_auto_configure -- \
		-DBUILD_ALL=On \
		-DCMAKE_SKIP_INSTALL_RPATH=On \
		-DCMAKE_SKIP_RPATH=On