Contents of /smage/trunk/extras/mcore-tools/mcore-tools-0.1_svn1648-r1.smage2
Parent Directory | Revision Log
Revision 1649 -
(show annotations)
(download)
Thu Mar 10 18:17:07 2011 UTC (13 years, 6 months ago) by niro
File size: 620 byte(s)
Thu Mar 10 18:17:07 2011 UTC (13 years, 6 months ago) by niro
File size: 620 byte(s)
auto added: ver bump to 0.1_svn1648-r1
1 | # $Id$ |
2 | |
3 | PNAME="mcore-tools" |
4 | PVER="0.1_svn1648" |
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 | sminclude mtools |
20 | |
21 | 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 | # needed directory |
34 | mkeepdir /var/lib/mcored || die |
35 | } |
36 | |
37 | postinstall() |
38 | { |
39 | mstartservice mcored |
40 | } |
41 | |
42 | postremove() |
43 | { |
44 | mstopservice mcored |
45 | } |