diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb')
-rw-r--r-- | meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 46 |
1 files changed, 46 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 0000000000..e0ce57d020 --- /dev/null +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "Tools for zmodem/xmodem/ymodem file transfer" | ||
2 | DESCRIPTION = "Lrzsz is a cosmetically modified zmodem/ymodem/xmodem package built from \ | ||
3 | the public-domain version of Chuck Forsberg's rzsz package. \ | ||
4 | These programs use error correcting protocols ({z,x,y}modem) to send (sz, sx, sb) and \ | ||
5 | receive (rz, rx, rb) files over a dial-in serial port from a variety of programs \ | ||
6 | running under various operating systems. " | ||
7 | HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html" | ||
8 | LICENSE = "GPLv2+" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | ||
10 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" | ||
11 | SECTION = "console/network" | ||
12 | DEPENDS = "" | ||
13 | PR = "r6" | ||
14 | |||
15 | SRC_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://acdefine.patch \ | ||
20 | file://lrzsz_fix_for_automake-1.12.patch \ | ||
21 | file://lrzsz-check-locale.h.patch \ | ||
22 | " | ||
23 | |||
24 | SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4" | ||
25 | SRC_URI[sha256sum] = "c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1" | ||
26 | |||
27 | inherit autotools gettext | ||
28 | |||
29 | do_install() { | ||
30 | install -d ${D}${bindir}/ | ||
31 | install -m 0755 src/lrz src/lsz ${D}${bindir}/ | ||
32 | } | ||
33 | |||
34 | inherit update-alternatives | ||
35 | |||
36 | ALTERNATIVE_PRIORITY = "100" | ||
37 | |||
38 | ALTERNATIVE_${PN} = "rz rx rb sz sx sb" | ||
39 | |||
40 | ALTERNATIVE_TARGET[rz] = "${bindir}/lrz" | ||
41 | ALTERNATIVE_TARGET[rx] = "${bindir}/lrz" | ||
42 | ALTERNATIVE_TARGET[rb] = "${bindir}/lrz" | ||
43 | |||
44 | ALTERNATIVE_TARGET[sz] = "${bindir}/lsz" | ||
45 | ALTERNATIVE_TARGET[sx] = "${bindir}/lsz" | ||
46 | ALTERNATIVE_TARGET[sb] = "${bindir}/lsz" | ||