Contents of /smage/branches/alx07x-unstable/core/remserial/remserial-1.4-r8.smage2
Parent Directory | Revision Log
Revision 14567 -
(show annotations)
(download)
Tue Aug 4 11:20:17 2020 UTC (4 years, 1 month ago) by niro
File size: 948 byte(s)
Tue Aug 4 11:20:17 2020 UTC (4 years, 1 month ago) by niro
File size: 948 byte(s)
-release branches/alx07x-unstable
1 | # $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 | msetfeature "!check" # no check target in Makefile |
18 | sminclude mbuild mtools systemd |
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.service |
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 | minstallunit remserial.service || die |
43 | minstallconf remserial.confd remserial || die |
44 | } |
45 | |
46 | postinstall() |
47 | { |
48 | mstartunit remserial.service |
49 | } |
50 | |
51 | postremove() |
52 | { |
53 | mstopunit remserial.service |
54 | } |