DEB libcarddav: Add definitions for multi-arch.

CMAKE_INSTALL_LIBDIR is set independently of GNUInstallDirs.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 52581ba188)
pull/92/head
Slávek Banko 5 years ago
parent f659960e62
commit 034d35c645
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -7,6 +7,7 @@ Standards-Version: 3.8.4
Package: libcarddav
Architecture: any
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends}
Description:
@ -14,6 +15,7 @@ Description:
Package: libcarddav-dev
Architecture: any
Multi-Arch: foreign
Section: libdevel
Depends: libcarddav (= ${binary:Version})
Description:

@ -7,9 +7,16 @@ include debian/cdbs/debian-tde.mk
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
ifdef DEB_HOST_MULTIARCH
CMAKE_INSTALL_LIBDIR = lib/$(DEB_HOST_MULTIARCH)
else
CMAKE_INSTALL_LIBDIR = lib
endif
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_LIBDIR=$(CMAKE_INSTALL_LIBDIR) \
-DWITH_ALL_OPTIONS="ON" \
-DBUILD_ALL="ON"

@ -7,6 +7,7 @@ Standards-Version: 3.8.4
Package: libcarddav
Architecture: any
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends}
Description:
@ -14,6 +15,7 @@ Description:
Package: libcarddav-dev
Architecture: any
Multi-Arch: foreign
Section: libdevel
Depends: libcarddav (= ${binary:Version})
Description:

@ -7,9 +7,16 @@ include debian/cdbs/debian-tde.mk
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
ifdef DEB_HOST_MULTIARCH
CMAKE_INSTALL_LIBDIR = lib/$(DEB_HOST_MULTIARCH)
else
CMAKE_INSTALL_LIBDIR = lib
endif
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_LIBDIR=$(CMAKE_INSTALL_LIBDIR) \
-DWITH_ALL_OPTIONS="ON" \
-DBUILD_ALL="ON"

Loading…
Cancel
Save