diff options
Diffstat (limited to 'hicn-plugin')
-rw-r--r-- | hicn-plugin/cmake/Modules/Packaging.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hicn-plugin/cmake/Modules/Packaging.cmake b/hicn-plugin/cmake/Modules/Packaging.cmake index 61453d6fd..f8d49388c 100644 --- a/hicn-plugin/cmake/Modules/Packaging.cmake +++ b/hicn-plugin/cmake/Modules/Packaging.cmake @@ -25,11 +25,21 @@ set(${HICN_PLUGIN}_DEB_DEPENDENCIES CACHE STRING "Dependencies for deb/rpm package." ) +set(${HICN_PLUGIN}-dev_DEB_DEPENDENCIES + "vpp-dev (>= stable_version-release), vpp-dev (<< next_version-release), libvppinfra-dev (>= stable_version-release), libvppinfra-dev (<< next_version-release)" + CACHE STRING "Dependencies for deb/rpm package." +) + set(${HICN_PLUGIN}_RPM_DEPENDENCIES "vpp >= stable_version-release, vpp < next_version-release, vpp-plugins >= stable_version-release, vpp-plugins < next_version-release" CACHE STRING "Dependencies for deb/rpm package." ) +set(${HICN_PLUGIN}-dev_RPM_DEPENDENCIES + "vpp-dev >= stable_version-release, vpp-dev < next_version-release, libvppinfra-devel >= stable_version-release, libvppinfra-devel < next_version-release" + CACHE STRING "Dependencies for deb/rpm package." +) + set(${HICN_PLUGIN}_DEB_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/scripts/postinst" CACHE STRING "Control scripts conffiles, postinst, postrm, prerm." |