diff --git a/wscript b/wscript
index 0443381..56074a5 100644
--- a/wscript
+++ b/wscript
@@ -10,12 +10,18 @@
     
     opt.load('compiler_c compiler_cxx boost protoc qt4')
 
+    if Utils.unversioned_sys_platform () != "darwin":
+        opt.load('gnu_dirs');
+
     # opt.load('tinyxml', tooldir=['waf-tools'])
     opt.load('cryptopp', tooldir=['waf-tools'])
     
 def configure(conf):
     conf.load("compiler_c compiler_cxx boost protoc qt4 cryptopp")
 
+    if Utils.unversioned_sys_platform () != "darwin":
+        conf.load('gnu_dirs');
+
     if conf.options.debug:
         conf.define ('_DEBUG', 1)
         conf.env.DEBUG = 1
@@ -36,6 +42,8 @@
         conf.check_cfg(package='liblog4cxx', args=['--cflags', '--libs'], uselib_store='LOG4CXX', mandatory=True)
     conf.check_cfg (package='ChronoSync', args=['ChronoSync >= 0.1', '--cflags', '--libs'], uselib_store='SYNC', mandatory=True)
 
+    conf.check_cryptopp(path=conf.options.cryptopp_dir)
+
     conf.check_boost(lib='system random thread filesystem')
 
     conf.write_config_header('config.h')
@@ -93,6 +101,15 @@
         qt.mac_app = "ChronoChat.app"
         qt.mac_plist = app_plist % "ChronoChat"
         qt.mac_resources = 'demo.icns'
+    else:
+        bld (features = "subst",
+             source = 'linux/chronochat.desktop.in',
+             target = 'linux/chronochat.desktop',
+             BINARY = "ChronoChat",
+             install_path = "${DATAROOTDIR}/applications"
+            )
+        bld.install_files("${DATAROOTDIR}/chronochat",
+                          bld.path.ant_glob(['linux/Resources/*']))
 
 
 from waflib import TaskGen
