lrzsz_0.12.20.bb 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. PRIORITY = "standard"
  13. DEPENDS = ""
  14. PR = "r3"
  15. SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
  16. file://autotools.patch;patch=1 \
  17. file://makefile.patch;patch=1 \
  18. file://gettext.patch;patch=1"
  19. SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4"
  20. SRC_URI[sha256sum] = "c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1"
  21. inherit autotools gettext
  22. do_install() {
  23. install -d ${D}${bindir}/
  24. install -m 0755 src/lrz src/lsz ${D}${bindir}/
  25. }
  26. pkg_postinst() {
  27. for util in rz rx rb sz sx sb; do
  28. update-alternatives --install ${bindir}/$util $util lrz 100
  29. done
  30. }
  31. pkg_postrm() {
  32. for util in rz rx rb sz sx sb; do
  33. update-alternatives --remove $util ${bindir}/lrz
  34. done
  35. }