File: rules

package info (click to toggle)
kodi-pvr-waipu 2.6.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 808 kB
  • sloc: cpp: 1,980; xml: 134; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \
            -DBUILD_SHARED_LIBS=1 \
            -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/kodi \
            -DOVERRIDE_PATHS=1 \
            -DUSE_LTO=1

override_dh_auto_install:
	dh_auto_install
	rm -f debian/kodi-pvr-waipu/usr/share/kodi/addons/pvr.waipu/LICENSE.txt