diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-03-07 22:03:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-08 12:12:06 -0800 |
commit | 10d6c4e056b4c3333f15e442af4283c99e5951e2 (patch) | |
tree | f820e14de6c3c657dfa53a5995de8f90fe07ebf7 /meta/recipes-extended/bzip2 | |
parent | c6bb463995db745d1a4c55cac324e201deef2413 (diff) | |
download | poky-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.bb | 14 |
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/" | |||
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | LICENSE = "BSD-4-Clause" | 7 | LICENSE = "BSD-4-Clause" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2" |
9 | PR = "r4" | 9 | PR = "r5" |
10 | 10 | ||
11 | SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \ | 11 | SRC_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 \ | |||
15 | SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b" | 15 | SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b" |
16 | SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd" | 16 | SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd" |
17 | 17 | ||
18 | PACKAGES =+ "libbz2 libbz2-dev libbz2-staticdev" | ||
19 | |||
18 | CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" | 20 | CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" |
19 | 21 | ||
20 | inherit autotools update-alternatives | 22 | inherit 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 | ||
33 | FILES_libbz2 = "${libdir}/lib*${SOLIBS}" | ||
34 | |||
35 | FILES_libbz2-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV}" | ||
36 | SECTION_libbz2-dev = "devel" | ||
37 | RDEPENDS_libbz2-dev = "libbz2 (= ${EXTENDPKGV})" | ||
38 | |||
39 | FILES_libbz2-staticdev = "${libdir}/*.a" | ||
40 | SECTION_libbz2-staticdev = "devel" | ||
41 | RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})" | ||
42 | |||
31 | PROVIDES_append_virtclass-native = " bzip2-full-native" | 43 | PROVIDES_append_virtclass-native = " bzip2-full-native" |
32 | BBCLASSEXTEND = "native" | 44 | BBCLASSEXTEND = "native" |