Magellan Linux

Contents of /smage/tags/alx-0_6_9/core/remserial/remserial-1.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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