Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5347 - (show annotations) (download)
Thu Jan 2 16:30:49 2014 UTC (10 years, 5 months ago) by niro
File size: 637 byte(s)
auto added: ver bump to 0.1_svn2117-r1
1 # $Id$
2
3 PNAME="mcore-tools"
4 PVER="0.1_svn2117"
5 PBUILD="r1"
6
7 PCAT="app-mcore"
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
15 SRCFILE="${PNAME}-${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude systemd
19
20 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
21
22 src_prepare()
23 {
24 munpack ${SRCFILE} || die
25 }
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30 mmake || die
31 }
32
33 src_install()
34 {
35 cd ${SRCDIR}
36 make DESTDIR=${BINDIR} install || die
37
38 # needed directory
39 mkeepdir /var/lib/mcored || die
40 }
41
42 postinstall()
43 {
44 mstartunit mcored
45 }
46
47 postremove()
48 {
49 mstopunit mcored
50 }