791N/A###############################################################################
791N/A#
1302N/A# synergy application to share input devices across computers
791N/A#
1607N/A# Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
791N/A#
791N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
791N/A#
791N/A#
791N/A
791N/A# Package name used in tarballs
1035N/AMODULE_NAME=synergy
791N/A
970N/A# pkg(5) name we deliver the files in (override default)
970N/AMODULE_PKGNAME=desktop/synergy
970N/AMODULE_PKGNAME_SET=yes
970N/A
970N/A# Package classification (override default)
1645N/A# more in line with tigervnc:
1645N/AMODULE_PKGCLASS=System/X11
970N/AMODULE_PKGCLASS_SET=yes
970N/A
970N/A# Package metadata
970N/AUPSTREAM = Synergy
1645N/AUPSTREAM_URL = https://github.com/symless/synergy
970N/AUPSTREAM_SET = yes
1645N/AGIT_URL = https://github.com/symless/synergy
1551N/AGIT_URL_SET = yes
970N/A
970N/AMODULE_LICENSE = GPLv2
970N/AMODULE_LICENSE_SET = yes
1003N/AMODULE_LICENSE_PREPEND = $(GPL_CHOICE_FILE)
970N/A
1645N/ALICENSE_FILE = LICENSE
1645N/ALICENSE_FILE_SET = yes
1645N/A
1356N/AMODULE_DESC = the Synergy mouse and keyboard sharing system
1645N/AORACLE_TPNO = 29402
1302N/A
791N/A# Version number (used in path names)
1645N/AMODULE_VERSION=1.7.6
791N/A
1645N/A# FYI ARC since first integration of V 1.3.8
1645N/AMODULE_ARC_CASES=LSARC/2009/489
1645N/AMODULE_ARC_CASES+=PSARC/2016/436
911N/A
791N/A# Source tarball
1645N/ASOURCE_TARBALL_NAME=synergy-v1.7.6-stable-bcb9da8-Source.tar.gz
791N/ASOURCE_TARBALL_NAME_SET=yes
1645N/A
1645N/ASOURCE_URL = $(UPSTREAM_URL)/archive/$(SOURCE_TARBALL_NAME)
1645N/ASOURCE_URL_SET = yes
791N/A
1645N/A# Checksums for upstream tarball
1645N/ATARBALL_MD5 = a324798a47445de739a7ed4baf12638f
1645N/ATARBALL_SHA1 = 01936476040b85c08d1077c4dd9614303c78f69b
1645N/A
1645N/A# make links to source
1645N/ACLONE_SRC=yes
791N/A
791N/A# Patches to apply to source after unpacking, in order
1645N/ASOURCE_PATCHES = Werrors.cpp.patch documentation.patch in-help.patch ns.patch ellipse_error.patch
791N/A
791N/A# Man pages to apply Sun footer to & attributes to list
791N/A#SUNTOUCHED_MANPAGES=man/*.man
791N/AMODULE_STABILITY=Committed
791N/A
791N/AINSTALL = /usr/bin/ginstall -c
791N/AMODULE_MAKE=$(GNUMAKE)
791N/AMODULE_MAKE_SET=yes
791N/A
1645N/AMODULE_CONFIG_OPTS = --disable-debug
791N/A
1645N/AMODULE_COMPILER=gcc
1645N/AMODULE_COMPILER_SET=yes
1033N/A
1646N/AUSE_PARFAIT=no
1646N/A
791N/AMODULE_CONFIG_ENV = $(MODULE_ENV)
791N/AMODULE_BUILD_ENV = $(CONFIG_ENV)
791N/A
1645N/A$(CONFIGURE_TARGETS):
1645N/A unpacked-src/hm.sh conf --skip-gui
1645N/A
1645N/A$(BUILD_TARGETS): $(CONFIGURE_TARGETS)
1645N/A unpacked-src/hm.sh build --skip-gui
1645N/A
1645N/A
1645N/A# What to install
1645N/AINSTALL_TARGETS= install_synergy
1645N/AINSTALL_TARGETS_SET=yes
1645N/A
791N/Ainclude ../Makefile.inc
1645N/A
1645N/A
1645N/ADESTDIR=$(PROTODIR)
1645N/A
1645N/Ainstall_synergy: $(BUILD_TARGETS)
1647N/A mkdir -p $(PROTODIR)/usr/lib/synergy/plugins \
1647N/A $(PROTODIR)/usr/bin \
1647N/A $(PROTODIR)/$(MODULE_MAN_DIR)/man1
1645N/A $(INSTALL_SCRIPT) -m 0755 $(BUILD_DIR)/bin/synergyc \
1645N/A $(BUILD_DIR)/bin/synergys \
1647N/A $(PROTODIR)/usr/bin
1649N/A $(INSTALL_SCRIPT) -m 0555 \
1647N/A $(BUILD_DIR)/bin/plugins/libns.so \
1647N/A $(PROTODIR)/usr/lib/synergy/plugins
1645N/A $(INSTALL_SCRIPT) -m 0444 \
1645N/A $(BUILD_DIR)/doc/synergys.man \
1647N/A $(PROTODIR)/$(MODULE_MAN_DIR)/man1/synergys.1
1645N/A $(INSTALL_SCRIPT) -m 0444 \
1645N/A $(BUILD_DIR)/doc/synergyc.man \
1647N/A $(PROTODIR)/$(MODULE_MAN_DIR)/man1/synergyc.1