From 9b6df990709ea0e4501234f9bd2575127f48894e Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 10 Mar 2009 16:47:02 +0100 Subject: e2fsprogs-native: stage everything like it is done wuth non-native recipe --- meta/packages/e2fsprogs/e2fsprogs-native_1.41.2.bb | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'meta/packages') 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 } -- cgit v1.2.3