File: rules

package info (click to toggle)
softether-vpn 5.01.9674%2Bgit20200806%2B8181039%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,684 kB
  • sloc: ansic: 245,719; cpp: 1,797; javascript: 872; sh: 59; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DH_VERBOSE=1

%:
	dh $@ --buildsystem=cmake --builddirectory=$(CURDIR)

override_dh_auto_configure:
	mkdir -p src/Mayaqua/3rdparty/cpu_features/
	touch src/Mayaqua/3rdparty/cpu_features/CMakeLists.txt
	dh_auto_configure -- -DSKIP_CPU_FEATURES=ON -DSE_PIDDIR=/run/softether \
						 -DSE_LOGDIR=/var/log/softether -DSE_DBDIR=/var/lib/softether