Skip to content

Commit

Permalink
Add licensing support for Gentoo Linux.
Browse files Browse the repository at this point in the history
	new file:   doc/licensing/gentoo-licensing.cmake
  • Loading branch information
pkturner committed Nov 21, 2019
1 parent 9063652 commit c069441
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions doc/licensing/gentoo-licensing.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# Copyright 2019 Kai Pastor
#
# This file is part of OpenOrienteering.
#
# OpenOrienteering is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenOrienteering is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenOrienteering. If not, see <http://www.gnu.org/licenses/>.


include("linux-distribution.cmake")

set(system_copyright_dir "/usr/share")
# Pattern to find GDAL license.
set(copyright_pattern
"${system_copyright_dir}/@package@/LICENSE.TXT"
)

# Location of common license text:
set(common_license_pattern "/usr/portage/licenses/@basename@")

0 comments on commit c069441

Please sign in to comment.