summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-18 14:35:43 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-18 14:35:43 +0200
commit38cea1ff24566d5f50bcaa4a208947b7ee14b7e8 (patch)
tree3d9f90453881d5fe329870a510bcc7f6869f1ad4
parent4e3165e4bbb28bc765397588c69f67f7f37338d3 (diff)
e2fsprogs-libs: update to 1.41.5, split out libs
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/e2fsprogs-libs/e2fsprogs-libs.inc10
-rw-r--r--recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb14
-rw-r--r--recipes/e2fsprogs-libs/files/mkinstalldirs.patch (renamed from recipes/e2fsprogs-libs/e2fsprogs-libs-1.41.2/mkinstalldirs.patch)0
4 files changed, 28 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 2b9d1b96ad..985d27192f 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -5126,6 +5126,10 @@ sha256=2de57ec75aca127ec70c2797c1a416fca43d78e6cb5c8ee4938864cb8eaafb56
md5=258d0a8277ace7fab06c55fdb2b249c4
sha256=2de57ec75aca127ec70c2797c1a416fca43d78e6cb5c8ee4938864cb8eaafb56
+[http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-libs-1.41.5.tar.gz]
+md5=c75f112d24bdc39c76dbec61d59a4a91
+sha256=dc1eb1b7bbad2edc030e50e7506c79562d98098f99a5d6cb5db5aa5ca92ffe48
+
[http://www.pobox.com/~sheff/sw/e2tools/e2tools-0.0.16.tar.gz]
md5=1829b2b261e0e0d07566066769b5b28b
sha256=4e3c8e17786ccc03fc9fb4145724edf332bb50e1b3c91b6f33e0e3a54861949b
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