diff options
author | Koen Kooi <koen@openembedded.org> | 2009-05-18 14:35:43 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-05-18 14:35:43 +0200 |
commit | 38cea1ff24566d5f50bcaa4a208947b7ee14b7e8 (patch) | |
tree | 3d9f90453881d5fe329870a510bcc7f6869f1ad4 /recipes/e2fsprogs-libs | |
parent | 4e3165e4bbb28bc765397588c69f67f7f37338d3 (diff) |
e2fsprogs-libs: update to 1.41.5, split out libs
Diffstat (limited to 'recipes/e2fsprogs-libs')
-rw-r--r-- | recipes/e2fsprogs-libs/e2fsprogs-libs.inc | 10 | ||||
-rw-r--r-- | recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb | 14 | ||||
-rw-r--r-- | recipes/e2fsprogs-libs/files/mkinstalldirs.patch (renamed from recipes/e2fsprogs-libs/e2fsprogs-libs-1.41.2/mkinstalldirs.patch) | 0 |
3 files changed, 24 insertions, 0 deletions
diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc index 9efa6d1d70..8b214c13bd 100644 --- a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc @@ -12,6 +12,16 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ S = "${WORKDIR}/e2fsprogs-libs-${PV}" FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss" +FILES_${PN} = "${bindir}" + +python populate_packages_prepend () { + cv_libdir = bb.data.expand('${libdir}', d) + cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d) + do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev', allow_links=True) + do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev') + do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev') + do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'e2fsprogs-libs %s library', extra_depends='', allow_links=True) +} do_stage () { for i in libcom_err libss libuuid libblkid; do diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb new file mode 100644 index 0000000000..25a6490c7c --- /dev/null +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb @@ -0,0 +1,14 @@ +require e2fsprogs-libs.inc + +SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ + file://mkinstalldirs.patch;patch=1 \ + " + +DEPENDS = "gettext-native" + +EXTRA_OECONF=" --enable-elf-shlibs " + +do_compile_prepend () { + find ./ -print|xargs chmod u=rwX + ( cd util; ${BUILD_CC} subst.c -o subst ) +} diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs-1.41.2/mkinstalldirs.patch b/recipes/e2fsprogs-libs/files/mkinstalldirs.patch index a32140eb93..a32140eb93 100644 --- a/recipes/e2fsprogs-libs/e2fsprogs-libs-1.41.2/mkinstalldirs.patch +++ b/recipes/e2fsprogs-libs/files/mkinstalldirs.patch |