summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-30 14:23:10 +0000
committerRichard Purdie <richard@openedhand.com>2007-01-30 14:23:10 +0000
commita2de8552a84dcf79a7226439948000143f11e5de (patch)
treeb6db3f4c3af36ccea2686fc4f04c90036037fb58 /meta
parent3b75644d51f0b437e7ae738ef408b5a9e2d550f7 (diff)
downloadpoky-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.bb20
-rw-r--r--meta/packages/e2fsprogs/e2fsprogs.inc12
-rw-r--r--meta/packages/e2fsprogs/e2fsprogs_1.38.bb15
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 @@
1SECTION = "base"
2require e2fsprogs_${PV}.bb
3inherit native
4
5FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/e2fsprogs-${PV}', '${FILE_DIRNAME}/e2fsprogs', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
6PACKAGES = ""
7DEPENDS = ""
8
9do_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 @@
1DESCRIPTION = "EXT2 Filesystem Utilities"
2HOMEPAGE = "http://e2fsprogs.sf.net"
3LICENSE = "GPL"
4SECTION = "base"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz"
7
8inherit autotools
9
10EXTRA_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 @@
1DESCRIPTION = "EXT2 Filesystem Utilities" 1require e2fsprogs.inc
2HOMEPAGE = "http://e2fsprogs.sourceforge.net" 2
3LICENSE = "GPL"
4SECTION = "base"
5PR = "r6" 3PR = "r6"
6 4
7SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz \ 5SRC_URI += "file://no-hardlinks.patch;patch=1"
8 file://no-hardlinks.patch;patch=1"
9S = "${WORKDIR}/e2fsprogs-${PV}" 6S = "${WORKDIR}/e2fsprogs-${PV}"
10 7
11PARALLEL_MAKE = "" 8PARALLEL_MAKE = ""
12 9
13inherit autotools 10EXTRA_OECONF += " --sbindir=${base_sbindir}"
14
15EXTRA_OECONF = "--enable-dynamic-e2fsck --sbindir=${base_sbindir}"
16 11
17do_compile_prepend () { 12do_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"
49FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" 44FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*"
50FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" 45FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*"
51FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" 46FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs"
52FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" \ No newline at end of file 47FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks"