2021-12-04 17:09:48 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
include /usr/share/dpkg/buildflags.mk
|
|
|
|
export DH_VERBOSE=1
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --parallel
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR:PATH="/usr/lib/${DEB_HOST_MULTIARCH}" \
|
2024-02-26 00:13:44 +01:00
|
|
|
-DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail" \
|
2021-12-04 17:09:48 +01:00
|
|
|
-DVMIME_BUILD_SAMPLES:BOOL=OFF \
|
|
|
|
-DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \
|
|
|
|
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \
|
|
|
|
-DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
|
|
|
|
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="${CPPFLAGS} ${CXXFLAGS}" \
|
|
|
|
-DCMAKE_CXX_FLAGS:STRING=" " \
|
|
|
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="${CPPFLAGS} ${CFLAGS}" \
|
|
|
|
-DCMAKE_C_FLAGS:STRING=" " \
|
|
|
|
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE="${LDFLAGS}"
|