Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPACK: Improve deb package filenames #120

Merged
merged 4 commits into from
Sep 13, 2022

Conversation

pnx
Copy link
Contributor

@pnx pnx commented Sep 8, 2022

This PR fixes the format for deb package filenames to follow the standard debian convention (described here in detail): <PackageName>_<VersionNumber>_<DebianArchitecture>.deb

What is being changed in the original package name is:

  • First hyphen is changed to underscore. (right after the package name)
  • Last hyphen before the architecture is changed to underscore.
  • Use dpkg --print-architecture to get the correct value (e.g. amd64 instead of x86_64 provided by cmake's ${CMAKE_SYSTEM_PROCESSOR})

package.cmake Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants