Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15801 - (show annotations) (download)
Wed Jan 9 13:23:20 2013 UTC (11 years, 5 months ago) by niro
File size: 1149 byte(s)
-fixed missing xdg include
1 # $Id$
2
3 PNAME="synergy"
4 PVER="1.4.10"
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.4
13 >= x11-libs/libXext-1.3
14 >= x11-libs/libXinerama-1.2
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://${PNAME}.googlecode.com/files/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 src_install()
30 {
31 cd ${SRCDIR}
32
33 # no install target in Makefile
34 minstallexec bin/synergyc || die
35 minstallexec bin/synergys || die
36
37 cp doc/synergyc.man synergyc.8 || die
38 cp doc/synergys.man synergys.8 || die
39 minstallman synergyc.8 || die
40 minstallman synergys.8 || die
41
42 minstalldir /etc || die
43 minstallfile doc/synergy.conf.example /etc/synergy.conf || die
44
45 # convert ico in png with imagemagick
46 convert res/synergy.ico[0] synergy.png || die
47 minstallpixmap ${SRCDIR}/synergy.png || die
48 minstallxdg --icon synergy --file res/synergy.desktop || die
49
50 minstalldocs ChangeLog COPYING README doc/synergy.conf* || die
51 }