summaryrefslogtreecommitdiff
path: root/meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2008-10-07 22:56:40 +0000
committerSamuel Ortiz <sameo@openedhand.com>2008-10-07 22:56:40 +0000
commit0a137849a47eed07516b2364041a7e09ab50ae87 (patch)
tree0bb97b34cd1a722e8c1fec2018fd8290552eeb70 /meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
parent1922777cefd1ddcc0cf7a5c577303894d26c7575 (diff)
downloadopenembedded-core-0a137849a47eed07516b2364041a7e09ab50ae87.tar.gz
openembedded-core-0a137849a47eed07516b2364041a7e09ab50ae87.tar.bz2
openembedded-core-0a137849a47eed07516b2364041a7e09ab50ae87.zip
e2fsprogs-libs: Initial commit
Needed by parted git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5440 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc')
-rw-r--r--meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc b/meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
new file mode 100644
index 0000000000..9efa6d1d70
--- /dev/null
+++ b/meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
@@ -0,0 +1,31 @@
+DESCRIPTION = "EXT2 Filesystem Utilities"
+LICENSE = "GPL"
+SECTION = "base"
+PRIORITY = "optional"
+
+inherit autotools pkgconfig
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \
+ file://configure.patch;patch=1 \
+ file://compile-subst.patch;patch=1 \
+ file://m4.patch;patch=1"
+
+S = "${WORKDIR}/e2fsprogs-libs-${PV}"
+FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss"
+
+do_stage () {
+ for i in libcom_err libss libuuid libblkid; do
+ oe_libinstall -a -C lib $i ${STAGING_LIBDIR}
+ done
+ install -d ${STAGING_INCDIR}/et \
+ ${STAGING_INCDIR}/ss \
+ ${STAGING_INCDIR}/uuid \
+ ${STAGING_INCDIR}/blkid
+ install -m 0644 lib/et/com_err.h ${STAGING_INCDIR}/et/
+ install -m 0644 lib/ss/ss.h ${STAGING_INCDIR}/ss/
+ install -m 0644 lib/ss/ss_err.h ${STAGING_INCDIR}/ss/
+ install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/
+ install -m 0644 lib/uuid/uuid_types.h ${STAGING_INCDIR}/uuid/
+ install -m 0644 lib/blkid/blkid.h ${STAGING_INCDIR}/blkid/
+ install -m 0644 lib/blkid/blkid_types.h ${STAGING_INCDIR}/blkid/
+}