summaryrefslogtreecommitdiff
path: root/packages/e2fsprogs/e2fsprogs_1.38.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-28 22:12:54 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-28 22:12:54 +0000
commit9d58c1020a9fa69e11362774ea7f18b2ee619486 (patch)
tree2606648a921688bc9f5b2b52347ee226a593f880 /packages/e2fsprogs/e2fsprogs_1.38.bb
parentfd78ba9fa8e711dcc99f29257b1c7bcde8026997 (diff)
parent3095f103f2d742eaa1e34828d3344129a6b6c6af (diff)
merge of 78fbed1dae12cc05db2a4773ecaa9e752733f733
and 811e0e1d1053a004286d73e1a2b3fb1a1d74234a
Diffstat (limited to 'packages/e2fsprogs/e2fsprogs_1.38.bb')
-rw-r--r--packages/e2fsprogs/e2fsprogs_1.38.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/e2fsprogs/e2fsprogs_1.38.bb b/packages/e2fsprogs/e2fsprogs_1.38.bb
new file mode 100644
index 0000000000..c08cfc2c62
--- /dev/null
+++ b/packages/e2fsprogs/e2fsprogs_1.38.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "EXT2 Filesystem Utilities"
+HOMEPAGE = "http://e2fsprogs.sourceforge.net"
+LICENSE = "GPL"
+SECTION = "base"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz"
+S = "${WORKDIR}/e2fsprogs-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-dynamic-e2fsck"
+
+do_compile_prepend () {
+ find ./ -print|xargs chmod u=rwX
+ ( cd util; ${BUILD_CC} subst.c -o subst )
+}
+
+ext2fsheaders = "ext2_ext_attr.h bitops.h ext2_err.h \
+ ext2_types.h ext2_fs.h ext2_io.h \
+ ext2fs.h"
+e2pheaders = "e2p.h"
+
+do_stage () {
+ oe_libinstall -a -C lib libe2p ${STAGING_LIBDIR}/
+ oe_libinstall -a -C lib libext2fs ${STAGING_LIBDIR}/
+ install -d ${STAGING_INCDIR}/e2p
+ for h in ${e2pheaders}; do
+ install -m 0644 lib/e2p/$h ${STAGING_INCDIR}/e2p/ || die "failed to install $h"
+ done
+ install -d ${STAGING_INCDIR}/ext2fs
+ for h in ${ext2fsheaders}; do
+ install -m 0644 lib/ext2fs/$h ${STAGING_INCDIR}/ext2fs/ || die "failed to install $h"
+ done
+}
+
+sbindir = "/sbin"
+PACKAGES_prepend = "e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck "
+FILES_e2fsprogs-fsck = "${sbindir}/fsck"
+FILES_e2fsprogs-e2fsck = "${sbindir}/e2fsck ${sbindir}/fsck.ext2 ${sbindir}/fsck.ext3"
+FILES_e2fsprogs-mke2fs = "${sbindir}/mke2fs ${sbindir}/mkfs.ext2 ${sbindir}/mkfs.ext3"