File: rules

package info (click to toggle)
network-manager-strongswan 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,056 kB
  • sloc: sh: 4,942; ansic: 1,215; makefile: 130; sed: 16; xml: 6
file content (20 lines) | stat: -rwxr-xr-x 579 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

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND = -DGDK_DISABLE_DEPRECATION_WARNINGS

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-gtk4 --without-libnm-glib --with-charon=/usr/lib/ipsec/charon-nm --disable-static

override_dh_clean:
	dh_clean -XNetworkManager-strongswan.metainfo.xml nm-strongswan-service.name

override_dh_makeshlibs:
	dh_makeshlibs -X/usr/lib/NetworkManager/

execute_before_dh_install:
	find debian/network-manager-strongswan -name '*.la' -print -delete