summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-12 12:05:58 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-12 12:05:58 +0100
commitbe7010a0581a5cc4fecfc0ecdef94624c1c8e781 (patch)
tree0a742c50e6d1ad97b6cceecf198f49e231fcd981
parent5fd21e706ecbf76c228409c5b433d32bf3b1f5db (diff)
bzip2: put libbz2 in its own package to avoid further SOVERSION breakage
* 'bzip2' depends on the libbz2 package, so upgrade paths remain intact
-rw-r--r--recipes/bzip2/bzip2_1.0.5.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/bzip2/bzip2_1.0.5.bb b/recipes/bzip2/bzip2_1.0.5.bb
index 45c97163d4..bbb2012c39 100644
--- a/recipes/bzip2/bzip2_1.0.5.bb
+++ b/recipes/bzip2/bzip2_1.0.5.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Very high-quality data compression program"
SECTION = "console/utils"
-PR = "r0"
+PR = "r1"
LICENSE = "bzip2"
SRC_URI = "http://www.bzip.org/${PV}/bzip2-${PV}.tar.gz \
@@ -17,6 +17,9 @@ do_install_append () {
mv ${D}${bindir}/bzcat ${D}${bindir}/bzcat.${PN}
}
+PACKAGES =+ "libbz2"
+FILES_libbz2 = "${libdir}/libbz2.so.*"
+
pkg_postinst_${PN} () {
update-alternatives --install ${bindir}/bunzip2 bunzip2 bunzip2.${PN} 100
update-alternatives --install ${bindir}/bzcat bzcat bzcat.${PN} 100