diff options
author | Richard Purdie <richard@openedhand.com> | 2007-01-30 14:23:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-01-30 14:23:10 +0000 |
commit | a2de8552a84dcf79a7226439948000143f11e5de (patch) | |
tree | b6db3f4c3af36ccea2686fc4f04c90036037fb58 /meta | |
parent | 3b75644d51f0b437e7ae738ef408b5a9e2d550f7 (diff) | |
download | poky-a2de8552a84dcf79a7226439948000143f11e5de.tar.gz |
e2fsprogs: Sync with OE, add -native version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1218 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/e2fsprogs/e2fsprogs-native_1.38.bb | 20 | ||||
-rw-r--r-- | meta/packages/e2fsprogs/e2fsprogs.inc | 12 | ||||
-rw-r--r-- | meta/packages/e2fsprogs/e2fsprogs_1.38.bb | 15 |
3 files changed, 37 insertions, 10 deletions
diff --git a/meta/packages/e2fsprogs/e2fsprogs-native_1.38.bb b/meta/packages/e2fsprogs/e2fsprogs-native_1.38.bb new file mode 100644 index 0000000000..8d1d580c90 --- /dev/null +++ b/meta/packages/e2fsprogs/e2fsprogs-native_1.38.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SECTION = "base" | ||
2 | require e2fsprogs_${PV}.bb | ||
3 | inherit native | ||
4 | |||
5 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/e2fsprogs-${PV}', '${FILE_DIRNAME}/e2fsprogs', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | ||
6 | PACKAGES = "" | ||
7 | DEPENDS = "" | ||
8 | |||
9 | do_stage () { | ||
10 | oe_libinstall -a -C lib libe2p ${STAGING_LIBDIR}/ | ||
11 | oe_libinstall -a -C lib libext2fs ${STAGING_LIBDIR}/ | ||
12 | install -d ${STAGING_INCDIR}/e2p | ||
13 | for h in ${e2pheaders}; do | ||
14 | install -m 0644 lib/e2p/$h ${STAGING_INCDIR}/e2p/ || die "failed to install $h" | ||
15 | done | ||
16 | install -d ${STAGING_INCDIR}/ext2fs | ||
17 | for h in ${ext2fsheaders}; do | ||
18 | install -m 0644 lib/ext2fs/$h ${STAGING_INCDIR}/ext2fs/ || die "failed to install $h" | ||
19 | done | ||
20 | } | ||
diff --git a/meta/packages/e2fsprogs/e2fsprogs.inc b/meta/packages/e2fsprogs/e2fsprogs.inc new file mode 100644 index 0000000000..b6bb469cd3 --- /dev/null +++ b/meta/packages/e2fsprogs/e2fsprogs.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | DESCRIPTION = "EXT2 Filesystem Utilities" | ||
2 | HOMEPAGE = "http://e2fsprogs.sf.net" | ||
3 | LICENSE = "GPL" | ||
4 | SECTION = "base" | ||
5 | |||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz" | ||
7 | |||
8 | inherit autotools | ||
9 | |||
10 | EXTRA_OECONF = " --enable-dynamic-e2fsck" | ||
11 | |||
12 | |||
diff --git a/meta/packages/e2fsprogs/e2fsprogs_1.38.bb b/meta/packages/e2fsprogs/e2fsprogs_1.38.bb index ec28bff31a..a909419437 100644 --- a/meta/packages/e2fsprogs/e2fsprogs_1.38.bb +++ b/meta/packages/e2fsprogs/e2fsprogs_1.38.bb | |||
@@ -1,18 +1,13 @@ | |||
1 | DESCRIPTION = "EXT2 Filesystem Utilities" | 1 | require e2fsprogs.inc |
2 | HOMEPAGE = "http://e2fsprogs.sourceforge.net" | 2 | |
3 | LICENSE = "GPL" | ||
4 | SECTION = "base" | ||
5 | PR = "r6" | 3 | PR = "r6" |
6 | 4 | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz \ | 5 | SRC_URI += "file://no-hardlinks.patch;patch=1" |
8 | file://no-hardlinks.patch;patch=1" | ||
9 | S = "${WORKDIR}/e2fsprogs-${PV}" | 6 | S = "${WORKDIR}/e2fsprogs-${PV}" |
10 | 7 | ||
11 | PARALLEL_MAKE = "" | 8 | PARALLEL_MAKE = "" |
12 | 9 | ||
13 | inherit autotools | 10 | EXTRA_OECONF += " --sbindir=${base_sbindir}" |
14 | |||
15 | EXTRA_OECONF = "--enable-dynamic-e2fsck --sbindir=${base_sbindir}" | ||
16 | 11 | ||
17 | do_compile_prepend () { | 12 | do_compile_prepend () { |
18 | find ./ -print|xargs chmod u=rwX | 13 | find ./ -print|xargs chmod u=rwX |
@@ -49,4 +44,4 @@ FILES_e2fsprogs-fsck = "${base_sbindir}/fsck" | |||
49 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" | 44 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" |
50 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" | 45 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" |
51 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" | 46 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" |
52 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" \ No newline at end of file | 47 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" |