summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb')
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb33
1 files changed, 33 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..af2db23102
--- /dev/null
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -0,0 +1,33 @@
1DESCRIPTION = "Tools for zmodem/xmodem/ymodem file transfer"
2HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html"
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
5 file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f"
6SECTION = "console/network"
7PRIORITY = "standard"
8DEPENDS = ""
9PR = "r3"
10
11SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
12 file://autotools.patch;patch=1 \
13 file://makefile.patch;patch=1 \
14 file://gettext.patch;patch=1"
15
16inherit autotools gettext
17
18do_install() {
19 install -d ${D}${bindir}/
20 install -m 0755 src/lrz src/lsz ${D}${bindir}/
21}
22
23pkg_postinst() {
24 for util in rz rx rb sz sx sb; do
25 update-alternatives --install ${bindir}/$util $util lrz 100
26 done
27}
28
29pkg_postrm() {
30 for util in rz rx rb sz sx sb; do
31 update-alternatives --remove $util ${bindir}/lrz
32 done
33} \ No newline at end of file