diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-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.bb | 33 |
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 @@ | |||
1 | DESCRIPTION = "Tools for zmodem/xmodem/ymodem file transfer" | ||
2 | HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html" | ||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | ||
5 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" | ||
6 | SECTION = "console/network" | ||
7 | PRIORITY = "standard" | ||
8 | DEPENDS = "" | ||
9 | PR = "r3" | ||
10 | |||
11 | SRC_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 | |||
16 | inherit autotools gettext | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${bindir}/ | ||
20 | install -m 0755 src/lrz src/lsz ${D}${bindir}/ | ||
21 | } | ||
22 | |||
23 | pkg_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 | |||
29 | pkg_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 | ||