summaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-10-20 14:40:51 +0200
committergregory guy <[email protected]>2021-01-13 18:12:31 +0100
commit81b64bcfc0a32fdeb0e4f367adbf273d924e55f4 (patch)
tree9e0903eb2b5cc19a7dcf4874d098a29133d3163c /src/menu
parent8b4f72aa0753110a46db9195216f3c88e14a9b69 (diff)
downloadtork-81b64bcfc0a32fdeb0e4f367adbf273d924e55f4.tar.gz
tork-81b64bcfc0a32fdeb0e4f367adbf273d924e55f4.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/menu')
-rw-r--r--src/menu/CMakeLists.txt10
-rw-r--r--src/menu/tork.cmake4
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"