diff options
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index 414f2f4a3b..7f861575ec 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | |||
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | |||
10 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" | 10 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" |
11 | SECTION = "console/network" | 11 | SECTION = "console/network" |
12 | DEPENDS = "" | 12 | DEPENDS = "" |
13 | PR = "r3" | 13 | PR = "r4" |
14 | 14 | ||
15 | SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ | 15 | SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ |
16 | file://autotools.patch \ | 16 | file://autotools.patch \ |
@@ -28,13 +28,19 @@ do_install() { | |||
28 | } | 28 | } |
29 | 29 | ||
30 | pkg_postinst_${PN}() { | 30 | pkg_postinst_${PN}() { |
31 | for util in rz rx rb sz sx sb; do | 31 | for util in rz rx rb; do |
32 | update-alternatives --install ${bindir}/$util $util lrz 100 | 32 | update-alternatives --install ${bindir}/$util $util lrz 100 |
33 | done | 33 | done |
34 | for util in sz sx sb; do | ||
35 | update-alternatives --install ${bindir}/$util $util lsz 100 | ||
36 | done | ||
34 | } | 37 | } |
35 | 38 | ||
36 | pkg_postrm_${PN}() { | 39 | pkg_postrm_${PN}() { |
37 | for util in rz rx rb sz sx sb; do | 40 | for util in rz rx rb; do |
38 | update-alternatives --remove $util ${bindir}/lrz | 41 | update-alternatives --remove $util ${bindir}/lrz |
39 | done | 42 | done |
43 | for util sz sx sb; do | ||
44 | update-alternatives --remove $util ${bindir}/lsz | ||
45 | done | ||
40 | } | 46 | } |