Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1309 - (show annotations) (download)
Sun Feb 6 23:57:47 2011 UTC (13 years, 2 months ago) by niro
File size: 548 byte(s)
auto added: ver bump to 0.1_svn1308-r1
1 # $Id$
2
3 PNAME="mcore-tools"
4 PVER="0.1_svn1308"
5 PBUILD="r1"
6
7 PCATEGORIE="app-mcore"
8 STATE="unstable"
9
10 DESCRIPTION="mcore client daemon."
11 HOMEPAGE="http://www.magellan-linux.net/"
12
13 DEPEND=">= net-misc/sslsvd-1
14 >= sys-apps/hwinfo-18.1"
15
16 SRCFILE="${PNAME}-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
20
21 src_prepare()
22 {
23 munpack ${SRCFILE} || die
24 }
25
26 src_install()
27 {
28 cd ${SRCDIR}
29 make DESTDIR=${BINDIR} install || die
30 }
31
32 postinstall()
33 {
34 mstartservice mcored
35 }
36
37 postremove()
38 {
39 mstopservice mcored
40 }