Magellan Linux

Contents of /smage/trunk/extras/mcore-tools/mcore-tools-0.1_svn2399-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7037 - (show annotations) (download)
Fri Aug 28 09:42:59 2015 UTC (8 years, 9 months ago) by niro
File size: 1130 byte(s)
auto added: ver bump to 0.1_svn2399-r1
1 # $Id$
2
3 PNAME="mcore-tools"
4 PVER="0.1_svn2399"
5 PBUILD="r1"
6
7 PCAT="app-mage"
8
9 DESCRIPTION="mcore client daemon."
10 HOMEPAGE="http://www.magellan-linux.net/"
11
12 DEPEND=">= net-misc/sslsvd-1
13 >= sys-apps/hwinfo-20
14 >= x11-libs/libX11-1.6"
15
16 SDEPEND=">= dev-util/pkgconfig-0.25
17 >= x11-libs/libX11-dev-1.6
18 >= x11-proto/xproto-7"
19
20 SRCFILE="${PNAME}-${PVER}.tar.bz2"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude systemd
24
25 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 }
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35 mmake \
36 MCORE_UNPRIV_USER=station \
37 MCORE_DISTRIBUTION=ALX \
38 MCORE_DEFAULT_HOSTNAME=alx-unconfigured \
39 MCORE_DEFAULT_DOMAIN=dom-aka-nt.intern \
40 SYSTEM_ICAROOT=/opt/Citrix/ICAClient \
41 PNABROWSE_CITRIX_BROWSER=ica.dom-aka-nt.intern \
42 PNABROWSE_SERVER_EXCLUDE=ESA-TS-CLEAN \
43 DEFAULT_STROREFRONT_STORE="https://storefront.dom-aka-nt.intern/Citrix/ALX/PNAgent/config.xml" \
44 || die
45 }
46
47 src_install()
48 {
49 cd ${SRCDIR}
50 make DESTDIR=${BINDIR} install || die
51
52 # needed directory
53 mkeepdir /var/lib/mcored || die
54 }
55
56 postinstall()
57 {
58 mstartunit mcored
59 }
60
61 postremove()
62 {
63 mstopunit mcored
64 }