bzip2: put libbz2 in its own package to avoid further SOVERSION breakage
authorKoen Kooi <koen@openembedded.org>
Tue, 12 Jan 2010 11:05:58 +0000 (12:05 +0100)
committerKoen Kooi <koen@openembedded.org>
Tue, 12 Jan 2010 11:05:58 +0000 (12:05 +0100)
* 'bzip2' depends on the libbz2 package, so upgrade paths remain intact

recipes/bzip2/bzip2_1.0.5.bb

index 45c9716..bbb2012 100644 (file)
@@ -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