diff options
| author | gregory guy <gregory-tde@laposte.net> | 2020-10-20 14:40:51 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-01-15 15:15:39 +0100 |
| commit | 7fefe15989a08e255ade5e577c781701b157d430 (patch) | |
| tree | 094796ae879ca732f013f7ff6baf059da9d3b862 /src/menu | |
| parent | ade9896cdea394b76db639c1f22a43821a9d1ecd (diff) | |
| download | tork-7fefe159.tar.gz tork-7fefe159.zip | |
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 81b64bcfc0a32fdeb0e4f367adbf273d924e55f4)
Diffstat (limited to 'src/menu')
| -rw-r--r-- | src/menu/CMakeLists.txt | 10 | ||||
| -rw-r--r-- | src/menu/tork.cmake | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/menu/CMakeLists.txt b/src/menu/CMakeLists.txt new file mode 100644 index 0000000..a0931ac --- /dev/null +++ b/src/menu/CMakeLists.txt @@ -0,0 +1,10 @@ +##### other data + +string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} ) + +configure_file( ${PROJECT_NAME}.cmake ${PROJECT_NAME} @ONLY ) + +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME} + DESTINATION ${SHARE_INSTALL_PREFIX}/menu +) diff --git a/src/menu/tork.cmake b/src/menu/tork.cmake new file mode 100644 index 0000000..cec26c8 --- /dev/null +++ b/src/menu/tork.cmake @@ -0,0 +1,4 @@ +?package(tork):needs="X11" section="Applications/Network/Web Browsing"\ + title="TorK"\ + description="An anonymity manager for TDE."\ + command="@BIN_INSTALL_DIR@/tork" icon="@SHARE_INSTALL_PREFIX@/pixmaps/tork.xpm" |
