summaryrefslogtreecommitdiff
path: root/meta/packages/e2fsprogs
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@buglabs.net>2009-03-10 16:47:02 +0100
committerMarcin Juszkiewicz <marcin@buglabs.net>2009-03-10 16:47:02 +0100
commit9b6df990709ea0e4501234f9bd2575127f48894e (patch)
tree99d617a46ce8b615f4ea2a150237c585a80d6acb /meta/packages/e2fsprogs
parent784e1131c368c8935779783a18d38be1f3034946 (diff)
downloadopenembedded-core-9b6df990709ea0e4501234f9bd2575127f48894e.tar.gz
openembedded-core-9b6df990709ea0e4501234f9bd2575127f48894e.tar.bz2
openembedded-core-9b6df990709ea0e4501234f9bd2575127f48894e.zip
e2fsprogs-native: stage everything like it is done wuth non-native recipe
Diffstat (limited to 'meta/packages/e2fsprogs')
-rw-r--r--meta/packages/e2fsprogs/e2fsprogs-native_1.41.2.bb25
1 files changed, 24 insertions, 1 deletions
diff --git a/meta/packages/e2fsprogs/e2fsprogs-native_1.41.2.bb b/meta/packages/e2fsprogs/e2fsprogs-native_1.41.2.bb
index eaed14d935..90095d9ae7 100644
--- a/meta/packages/e2fsprogs/e2fsprogs-native_1.41.2.bb
+++ b/meta/packages/e2fsprogs/e2fsprogs-native_1.41.2.bb
@@ -2,7 +2,30 @@ require e2fsprogs_${PV}.bb
inherit native
DEPENDS = "gettext-native"
+PR = "r1"
do_stage () {
- oe_runmake install
+ oe_libinstall -a -C lib libblkid ${STAGING_LIBDIR}/
+ oe_libinstall -a -C lib libe2p ${STAGING_LIBDIR}/
+ oe_libinstall -a -C lib libext2fs ${STAGING_LIBDIR}/
+ oe_libinstall -a -C lib libuuid ${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
+ install -d ${STAGING_INCDIR}/blkid
+ for h in blkid.h blkid_types.h; do
+ install -m 0644 lib/blkid/$h ${STAGING_INCDIR}/blkid/ || die "failed to install $h"
+ done
+ install -d ${STAGING_INCDIR}/uuid
+ install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/ || die "failed to install $h"
+
+ install -d ${STAGING_LIBDIR}/pkgconfig
+ for pc in lib/*/*.pc; do
+ install -m 0644 $pc ${STAGING_LIBDIR}/pkgconfig/ || die "failed to install $h"
+ done
}