summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bzip2
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-03-07 22:03:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 12:12:06 -0800
commit10d6c4e056b4c3333f15e442af4283c99e5951e2 (patch)
treef820e14de6c3c657dfa53a5995de8f90fe07ebf7 /meta/recipes-extended/bzip2
parentc6bb463995db745d1a4c55cac324e201deef2413 (diff)
downloadpoky-10d6c4e056b4c3333f15e442af4283c99e5951e2.tar.gz
bzip2: split into binary and library packages
* Create libbz2 (and -dev, -staticdev), which can be installed without the bzip2 executables. (From OE-Core rev: e27af1f273e9a7348dd8f5542df9206acd9210f3) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bzip2')
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.6.bb14
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index 14cd24097d..fa8310e12a 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.bzip.org/"
6SECTION = "console/utils" 6SECTION = "console/utils"
7LICENSE = "BSD-4-Clause" 7LICENSE = "BSD-4-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2" 8LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2"
9PR = "r4" 9PR = "r5"
10 10
11SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \ 11SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \
12 file://configure.ac \ 12 file://configure.ac \
@@ -15,6 +15,8 @@ SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \
15SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b" 15SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b"
16SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd" 16SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd"
17 17
18PACKAGES =+ "libbz2 libbz2-dev libbz2-staticdev"
19
18CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" 20CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64"
19 21
20inherit autotools update-alternatives 22inherit autotools update-alternatives
@@ -28,5 +30,15 @@ do_configure_prepend () {
28 cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/ 30 cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/
29} 31}
30 32
33FILES_libbz2 = "${libdir}/lib*${SOLIBS}"
34
35FILES_libbz2-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV}"
36SECTION_libbz2-dev = "devel"
37RDEPENDS_libbz2-dev = "libbz2 (= ${EXTENDPKGV})"
38
39FILES_libbz2-staticdev = "${libdir}/*.a"
40SECTION_libbz2-staticdev = "devel"
41RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})"
42
31PROVIDES_append_virtclass-native = " bzip2-full-native" 43PROVIDES_append_virtclass-native = " bzip2-full-native"
32BBCLASSEXTEND = "native" 44BBCLASSEXTEND = "native"