Magellan Linux

Contents of /trunk/extras/synergy/synergy-1.4.15-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20575 - (show annotations) (download)
Tue Jan 28 10:20:59 2014 UTC (10 years, 4 months ago) by niro
File size: 1251 byte(s)
auto added: ver bump to 1.4.15-r1
1 # $Id$
2
3 PNAME="synergy"
4 PVER="1.4.15"
5 PBUILD="r1"
6
7 PCAT="x11-misc"
8
9 DESCRIPTION="Redirects the mouse and keyboard over network."
10 HOMEPAGE="http://synergy-foss.org/"
11
12 DEPEND=">= x11-libs/libX11-1.6
13 >= x11-libs/libXext-1.3
14 >= x11-libs/libXinerama-1.1
15 >= x11-libs/libXtst-1.2"
16
17 SDEPEND=">= media-gfx/imagemagick-6.7"
18
19 SRCFILE="${PNAME}-${PVER}-Source.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}-Source"
21
22 sminclude mtools cmake xdg
23
24 SRC_URI=(
25 http://synergy.googlecode.com/files/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2SUBSTITUTE="-Source"
30 UP2DATE="updatecmd 'http://synergy-foss.org/download/?list' | lasttarball gz"
31
32 src_install()
33 {
34 cd ${SRCDIR}
35
36 # no install target in Makefile
37 minstallexec bin/synergyc || die
38 minstallexec bin/synergys || die
39
40 cp doc/synergyc.man synergyc.8 || die
41 cp doc/synergys.man synergys.8 || die
42 minstallman synergyc.8 || die
43 minstallman synergys.8 || die
44
45 minstalldir /etc || die
46 minstallfile doc/synergy.conf.example /etc/synergy.conf || die
47
48 # convert ico in png with imagemagick
49 convert res/synergy.ico[0] synergy.png || die
50 minstallpixmap ${SRCDIR}/synergy.png || die
51 minstallxdg --icon synergy --file res/synergy.desktop || die
52
53 minstalldocs ChangeLog COPYING README doc/synergy.conf* || die
54 }