Jan Engelhardt
20f67d7d64
OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=40
22 lines
706 B
Makefile
22 lines
706 B
Makefile
#!/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}" \
|
|
-DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail" \
|
|
-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}"
|