Contents of /smage/branches/alx-0_6_0/core/remserial/remserial-1.4-r1.smage2
Parent Directory | Revision Log
Revision 2082 -
(show annotations)
(download)
Wed May 11 22:33:09 2011 UTC (13 years ago) by niro
File size: 965 byte(s)
Wed May 11 22:33:09 2011 UTC (13 years ago) by niro
File size: 965 byte(s)
auto added: ver bump to 1.4-r1
1 | # $Id$ |
2 | |
3 | PNAME="remserial" |
4 | PVER="1.4" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="The remserial program acts as a communications bridge between a TCP/IP network port and a Linux device such as a serial port." |
11 | HOMEPAGE="http://lpccomp.bc.ca/remserial/" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
19 | sminclude mbuild mtools alx |
20 | |
21 | RC_REV=1.2 |
22 | |
23 | SRC_URI=( |
24 | http://lpccomp.bc.ca/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/remserial.rc-${RC_REV} |
27 | mirror://${PNAME}/remserial.confd |
28 | ) |
29 | |
30 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
31 | |
32 | src_compile() |
33 | { |
34 | cd ${SRCDIR} |
35 | mmake || die |
36 | } |
37 | |
38 | src_install() |
39 | { |
40 | cd ${SRCDIR} |
41 | |
42 | minstallexec remserial || die |
43 | minstallrc remserial.rc-${RC_REV} remserial || die |
44 | minstallconf remserial.confd remserial || die |
45 | } |
46 | |
47 | postinstall() |
48 | { |
49 | mstartservice remserial |
50 | alx_postinstall |
51 | } |
52 | |
53 | postremove() |
54 | { |
55 | mstopservice remserial |
56 | } |