Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1310 - (hide annotations) (download)
Sun Feb 6 23:58:39 2011 UTC (13 years, 3 months ago) by niro
File size: 566 byte(s)
-added missing include
1 niro 1309 # $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 niro 1310 sminclude mtools
20    
21 niro 1309 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
22    
23     src_prepare()
24     {
25     munpack ${SRCFILE} || die
26     }
27    
28     src_install()
29     {
30     cd ${SRCDIR}
31     make DESTDIR=${BINDIR} install || die
32     }
33    
34     postinstall()
35     {
36     mstartservice mcored
37     }
38    
39     postremove()
40     {
41     mstopservice mcored
42     }