Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake|CPack|Unix: Fixes for Debian and RPM packaging
Applied a number of corrections and additions to the metadata of the DEB and RPM generators. Notably, corrected the executable permission on installed libraries so the RPM packager finds them. The default install prefix for Unix platforms is now /usr. Now also using CMake's GNUInstallDirs module for specifying the library directory name.
- Loading branch information
Showing
6 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
The Doomsday Engine is a portable version of the classic first person | ||
shooters DOOM, Heretic, and Hexen. It lets you enjoy the original games | ||
using modern technology, including high-resolution OpenGL graphics, 3D | ||
models, and dynamic lighting effects. Data files from the original games | ||
are not included; you must acquire a copy of the original games from | ||
id Software and/or Raven Software. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# CPack: Generator-specific configuration for Unix | ||
if (CPACK_GENERATOR STREQUAL DEB) | ||
string (REPLACE x86_64 amd64 CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) | ||
|
||
elseif (CPACK_GENERATOR STREQUAL RPM) | ||
string (REPLACE _x86_64 -1.x86_64 CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) | ||
string (REPLACE _i386 -1.i686 CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) | ||
string (REPLACE y_ y- CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) | ||
|
||
endif () |