summaryrefslogtreecommitdiffstats
path: root/meta/packages/e2fsprogs/e2fsprogs-native_1.41.2.bb
blob: 90095d9ae7649a1701dad679cf86bc0de3011c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require e2fsprogs_${PV}.bb
inherit native

DEPENDS = "gettext-native"
PR = "r1"

do_stage () {
	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
}