Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixGenerator
Commits
9de3cbbb
Commit
9de3cbbb
authored
Mar 13, 2022
by
Pierre Aubert
Browse files
Update rpm package version var and add PHOENIX_DEPENDS to manage package dependencies
parent
f7744c35
Pipeline
#166132
passed with stages
in 5 minutes and 16 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cmake/createLinuxPackages.cmake
cmake/createLinuxPackages.cmake
+3
-2
No files found.
cmake/createLinuxPackages.cmake
View file @
9de3cbbb
...
...
@@ -22,13 +22,14 @@ function(createLinuxPackages)
set
(
CPACK_DEBIAN_PACKAGE_MAINTAINER
"pierre.aubert@lapp.in2p3.fr"
CACHE STRING
"Package maintainer of the program"
)
#required
set
(
CPACK_DEBIAN_PACKAGE_HOMEPAGE
${
PROGRAM_HOMEPAGE
}
CACHE STRING
"Homepage of the program"
)
#For the debian installer only
set
(
CPACK_DEBIAN_PACKAGE_DEPENDS
""
CACHE STRING
"Depends of the program"
)
set
(
CPACK_DEBIAN_PACKAGE_DEPENDS
"
${
PHOENIX_DEPENDS
}
"
CACHE STRING
"Depends of the program"
)
endif
(
CREATE_DEB
)
if
(
CREATE_RPM
)
#Need to install rmp package on ubuntu which contains rpmbuild
set
(
CPACK_GENERATOR
"RPM"
CACHE STRING
"Package type of the program"
)
set
(
CPACK_RPM_PACKAGE_VERSION
"
${
PROGRAM_VERSION
}
"
CACHE STRING
"Version of the program"
)
set
(
CPACK_RPM_PACKAGE_AUTOREQ
"NO"
CACHE STRING
"Caracteristics of the program"
)
set
(
CPACK_RPM_PACKAGE_REQUIRES
""
CACHE STRING
"Depends of the program"
)
set
(
CPACK_RPM_PACKAGE_REQUIRES
"
${
PHOENIX_DEPENDS
}
"
CACHE STRING
"Depends of the program"
)
set
(
LIBRARY_DIRECTORY
"lib64"
CACHE STRING
"define the library directory (especially for Fedora with the wtf lib64)"
FORCE
)
endif
(
CREATE_RPM
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment