File: rules

package info (click to toggle)
cairo-dock-plug-ins 3.4.1%2Bgit20201022.a0d3415c-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 28,672 kB
  • sloc: ansic: 93,866; python: 782; xml: 545; sh: 503; cs: 427; ruby: 283; makefile: 28
file content (24 lines) | stat: -rwxr-xr-x 681 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS) -D_POSIX_C_SOURCE=200809L
CXXFLAGS+=$(CPPFLAGS) -D_POSIX_C_SOURCE=200809L

DEB_CMAKE_EXTRA_FLAGS += \
	-DROOT_PREFIX=$(CURDIR)/debian/tmp \
	-Denable-gnome-integration=ON \
	-Denable-old-gnome-integration=OFF \
	-Denable-kde-integration=ON \
	-Denable-xfce-integration=ON \
	-DGMCS_EXECUTABLE=/usr/bin/mono-csc \
	-DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)

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

common-binary-predeb-arch::
	if [ -e /usr/share/mono/mono-archs.make ] ; then \
		dh_clifixperms ; \
		dh_clideps -d ; \
	fi