Magellan Linux

Annotation of /smage/trunk/core/remserial/remserial-1.4-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14144 - (hide annotations) (download)
Fri Jul 3 11:51:49 2020 UTC (3 years, 10 months ago) by niro
File size: 897 byte(s)
auto added: ver bump to 1.4-r8
1 niro 14144 # $Id$
2    
3     PNAME="remserial"
4     PVER="1.4"
5     PBUILD="r8"
6    
7     PCAT="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     sminclude mbuild mtools systemd
18    
19     RC_REV=1.2
20    
21     SRC_URI=(
22     #http://lpccomp.bc.ca/${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/remserial.service
25     mirror://${PNAME}/remserial.confd
26     )
27    
28     UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz"
29    
30     src_compile()
31     {
32     cd ${SRCDIR}
33     mmake || die
34     }
35    
36     src_install()
37     {
38     cd ${SRCDIR}
39    
40     minstallexec remserial || die
41     minstallunit remserial.service || die
42     minstallconf remserial.confd remserial || die
43     }
44    
45     postinstall()
46     {
47     mstartunit remserial.service
48     }
49    
50     postremove()
51     {
52     mstopunit remserial.service
53     }