# Copyright (C) 2007-2009 LuaDist. # Created by Peter Drahoš # Redistribution and use of this file is allowed according to the terms of the MIT license. # For details see the COPYRIGHT file distributed with LuaDist. # Please note that the package source code is licensed under its own license. PROJECT (compress.deflatelua NONE) CMAKE_MINIMUM_REQUIRED (VERSION 2.6) SET (INSTALL_BIN bin CACHE PATH "Directory for Binaries and Launcher scripts.") SET (INSTALL_LMOD share/lua/lmod CACHE PATH "Directory for Lua Modules.") SET (INSTALL_DATA . CACHE PATH "Directory to store additional package data.") SET (INSTALL_ETC ${INSTALL_DATA}/etc CACHE PATH "Various other files.") INSTALL(PROGRAMS module/lmod/bin/gunziplua.lua DESTINATION ${INSTALL_BIN}) INSTALL(DIRECTORY module/lmod/compress DESTINATION ${INSTALL_LMOD}) INSTALL(FILES COPYRIGHT DESTINATION ${INSTALL_DATA}) INSTALL(FILES share/compress.deflatelua/hello.txt.gz DESTINATION ${INSTALL_ETC})