Skip to content

Commit

Permalink
Fixes #4
Browse files Browse the repository at this point in the history
Adds libcppdb-mysql0,libcppdb-odbc0,libcppdb-postgresql0 dependencies for libpduino package
Adds libcppdb-dev,libudev-dev libpduino-dev package
  • Loading branch information
epsilonrt committed Oct 16, 2018
1 parent 64c8ca7 commit 42a470c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ if (CPACK_GENERATOR STREQUAL "DEB")
set(CPACK_DEBIAN_LIB_PACKAGE_NAME "libpiduino")
set(CPACK_COMPONENT_LIB_DESCRIPTION "${CPACK_DEBIAN_LIB_PACKAGE_NAME} - ${PROJECT_DESCRIPTION} (library)\n${PROJECT_DESCRIPTION_TEXT}\n This package provides the shared libriairie itself.")
set(CPACK_DEBIAN_LIB_FILE_NAME "lib${PROJECT_NAME}_${CPACK_PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}.deb")
set(CPACK_DEBIAN_LIB_PACKAGE_DEPENDS "libc6,libgcc1,libstdc++6,libcppdb0,libcppdb-sqlite3-0,libudev1")
set(CPACK_DEBIAN_LIB_PACKAGE_DEPENDS "libc6,libgcc1,libstdc++6,libcppdb0,libcppdb-sqlite3-0,libcppdb-mysql0,libcppdb-odbc0,libcppdb-postgresql0,libudev1")
set(CPACK_DEBIAN_LIB_PACKAGE_SECTION "libs")

set(CPACK_DEBIAN_DEV_PACKAGE_NAME "libpiduino-dev")
set(CPACK_COMPONENT_DEV_DESCRIPTION "${CPACK_DEBIAN_LIB_PACKAGE_NAME} - ${PROJECT_DESCRIPTION} (development files)\n${PROJECT_DESCRIPTION_TEXT}\n This package provides the development files.")
set(CPACK_DEBIAN_DEV_FILE_NAME "lib${PROJECT_NAME}-dev_${CPACK_PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}.deb")
set(CPACK_DEBIAN_DEV_PACKAGE_DEPENDS "${CPACK_DEBIAN_LIB_PACKAGE_NAME} (= ${CPACK_PACKAGE_VERSION}),pkg-config,git-core")
set(CPACK_DEBIAN_DEV_PACKAGE_DEPENDS "${CPACK_DEBIAN_LIB_PACKAGE_NAME} (= ${CPACK_PACKAGE_VERSION}),pkg-config,git-core,libcppdb-dev,libudev-dev")
set(CPACK_DEBIAN_DEV_PACKAGE_SECTION "libdevel")
#set(CPACK_PACKAGE_DESCRIPTION_FILE "${PIDUINO_SRC_DIR}/doc/README-deb.md")

Expand Down

0 comments on commit 42a470c

Please sign in to comment.