summaryrefslogtreecommitdiff
path: root/packages/lrzsz/lrzsz_0.12.20.bb
blob: be2104c05b49fff2c7dba919d98e880d08d8e04a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LICENSE = GPL
SECTION = "console/network"
PRIORITY = "standard"
DESCRIPTION = "Tools for zmodem/xmodem/ymodem file transfer"
DEPENDS = ""
PR = "r2"

SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
	   file://autotools.patch;patch=1 \
	   file://makefile.patch;patch=1 \
	   file://gettext.patch;patch=1"

inherit autotools gettext

do_install() {
	install -d ${D}${bindir}/
	install -m 0755 src/lrz src/lsz ${D}${bindir}/
	ln -sf ./lrz ${D}${bindir}/rz
	ln -sf ./lrz ${D}${bindir}/rx
	ln -sf ./lrz ${D}${bindir}/rb
	ln -sf ./lsz ${D}${bindir}/sz
	ln -sf ./lsz ${D}${bindir}/sx
	ln -sf ./lsz ${D}${bindir}/sb
}