summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb')
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
new file mode 100644
index 0000000..0147b3d
--- /dev/null
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -0,0 +1,45 @@
1SUMMARY = "Tools for zmodem/xmodem/ymodem file transfer"
2DESCRIPTION = "Lrzsz is a cosmetically modified zmodem/ymodem/xmodem package built from \
3the public-domain version of Chuck Forsberg's rzsz package. \
4These programs use error correcting protocols ({z,x,y}modem) to send (sz, sx, sb) and \
5receive (rz, rx, rb) files over a dial-in serial port from a variety of programs \
6running under various operating systems. "
7HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html"
8LICENSE = "GPLv2+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
10 file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f"
11SECTION = "console/network"
12DEPENDS = ""
13PR = "r6"
14
15SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
16 file://autotools.patch \
17 file://makefile.patch \
18 file://gettext.patch \
19 file://lrzsz_fix_for_automake-1.12.patch \
20 file://lrzsz-check-locale.h.patch \
21 "
22
23SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4"
24SRC_URI[sha256sum] = "c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1"
25
26inherit autotools gettext
27
28do_install() {
29 install -d ${D}${bindir}/
30 install -m 0755 src/lrz src/lsz ${D}${bindir}/
31}
32
33inherit update-alternatives
34
35ALTERNATIVE_PRIORITY = "100"
36
37ALTERNATIVE_${PN} = "rz rx rb sz sx sb"
38
39ALTERNATIVE_TARGET[rz] = "${bindir}/lrz"
40ALTERNATIVE_TARGET[rx] = "${bindir}/lrz"
41ALTERNATIVE_TARGET[rb] = "${bindir}/lrz"
42
43ALTERNATIVE_TARGET[sz] = "${bindir}/lsz"
44ALTERNATIVE_TARGET[sx] = "${bindir}/lsz"
45ALTERNATIVE_TARGET[sb] = "${bindir}/lsz"