Magellan Linux

Annotation of /trunk/extras/x2goclient/x2goclient-4.1.2.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31403 - (hide annotations) (download)
Tue Jul 3 10:26:51 2018 UTC (5 years, 10 months ago) by niro
File size: 1201 byte(s)
-removed cruft
1 niro 31400 # $Id$
2    
3     PNAME="x2goclient"
4     PVER="4.1.2.1"
5     PBUILD="r1"
6    
7 niro 31401 PCAT="net-misc"
8 niro 31400
9 niro 31401 DESCRIPTION="Client application to launch server-side X2Go sessions."
10 niro 31400 HOMEPAGE="http://www.x2go.org"
11    
12 niro 31401 DEPEND=">= x11-libs/qt4-gui-4.8
13 niro 31400 >= x11-libs/qt4-svg-4.8
14     >= x11-libs/libXpm-3.5
15     >= net-libs/libssh-0.7
16     >= x11-apps/xauth-1
17     >= net-print/libcups-2.2
18     >= net-misc/nxcomp-${PVER}
19 niro 31401 >= net-misc/nxproxy-${PVER}
20     >= net-nds/libldap-2.4
21 niro 31400 >= x11-themes/hicolor-icon-theme-0.15"
22    
23     SRCFILE="${PNAME}-${PVER}.tar.gz"
24     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25    
26     sminclude mtools xdg qt4
27    
28     SRC_URI=(
29     https://code.x2go.org/releases/source/${PNAME}/${SRCFILE}
30     mirror://${PNAME}/${SRCFILE}
31     )
32    
33 niro 31402 UP2DATE="updatecmd https://code.x2go.org/releases/source/x2goclient/ | highesttarball gz"
34 niro 31400
35     src_prepare()
36     {
37     munpack ${SRCFILE} || die
38     cd ${SRCDIR}
39    
40     # fix broken Makefile
41     sed -i "s:-o root -g root ::g" Makefile || die
42    
43     # be compat with our qt4
44     sed -i -e "s:lrelease-qt4:lrelease:g" -e "s:qmake-qt4:qmake:g" Makefile || die
45     }
46    
47     src_compile()
48     {
49     cd ${SRCDIR}
50     mmake PREFIX=/usr || die
51     }
52    
53 niro 31401 src_install()
54 niro 31400 {
55     cd ${SRCDIR}
56 niro 31401 mmake PREFIX=/usr DESTDIR=${BINDIR} install || die
57 niro 31400 minstalldocs AUTHORS ChangeLog COPYING* HOWTO* LICENSE README* VERSION || die
58     }