From be7010a0581a5cc4fecfc0ecdef94624c1c8e781 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 12 Jan 2010 12:05:58 +0100 Subject: bzip2: put libbz2 in its own package to avoid further SOVERSION breakage * 'bzip2' depends on the libbz2 package, so upgrade paths remain intact --- recipes/bzip2/bzip2_1.0.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes/bzip2') 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 -- cgit 1.2.3-korg