summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2008-10-07 22:56:40 +0000
committerSamuel Ortiz <sameo@openedhand.com>2008-10-07 22:56:40 +0000
commit0a137849a47eed07516b2364041a7e09ab50ae87 (patch)
tree0bb97b34cd1a722e8c1fec2018fd8290552eeb70 /meta
parent1922777cefd1ddcc0cf7a5c577303894d26c7575 (diff)
downloadpoky-0a137849a47eed07516b2364041a7e09ab50ae87.tar.gz
e2fsprogs-libs: Initial commit
Needed by parted git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5440 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/e2fsprogs-libs/e2fsprogs-libs-1.39/configure.patch22
-rw-r--r--meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc31
-rw-r--r--meta/packages/e2fsprogs-libs/e2fsprogs-libs_1.39.bb13
3 files changed, 66 insertions, 0 deletions
diff --git a/meta/packages/e2fsprogs-libs/e2fsprogs-libs-1.39/configure.patch b/meta/packages/e2fsprogs-libs/e2fsprogs-libs-1.39/configure.patch
new file mode 100644
index 0000000000..1b31c0b305
--- /dev/null
+++ b/meta/packages/e2fsprogs-libs/e2fsprogs-libs-1.39/configure.patch
@@ -0,0 +1,22 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- e2fsprogs-libs-1.33/./lib/uuid/configure.in~configure
7+++ e2fsprogs-libs-1.33/./lib/uuid/configure.in
8@@ -2,9 +2,11 @@
9 dnl Not used now, for the future when uuid is separated out into its
10 dnl own package.
11 dnl
12-AC_INIT(gen_uuid.c)
13-AC_PREREQ(2.12)
14+AC_INIT
15+AC_CONFIG_SRCDIR([gen_uuid.c])
16+AC_PREREQ(2.57)
17
18 AC_CHECK_HEADERS(stdlib.h unistd.h sys/sockio.h net/if.h netinet/in.h)
19 AC_CHECK_FUNCS(srandom)
20-AC_OUTPUT(Makefile)
21+AC_CONFIG_FILES([Makefile])
22+AC_OUTPUT
diff --git a/meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc b/meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
new file mode 100644
index 0000000000..9efa6d1d70
--- /dev/null
+++ b/meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
@@ -0,0 +1,31 @@
1DESCRIPTION = "EXT2 Filesystem Utilities"
2LICENSE = "GPL"
3SECTION = "base"
4PRIORITY = "optional"
5
6inherit autotools pkgconfig
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \
9 file://configure.patch;patch=1 \
10 file://compile-subst.patch;patch=1 \
11 file://m4.patch;patch=1"
12
13S = "${WORKDIR}/e2fsprogs-libs-${PV}"
14FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss"
15
16do_stage () {
17 for i in libcom_err libss libuuid libblkid; do
18 oe_libinstall -a -C lib $i ${STAGING_LIBDIR}
19 done
20 install -d ${STAGING_INCDIR}/et \
21 ${STAGING_INCDIR}/ss \
22 ${STAGING_INCDIR}/uuid \
23 ${STAGING_INCDIR}/blkid
24 install -m 0644 lib/et/com_err.h ${STAGING_INCDIR}/et/
25 install -m 0644 lib/ss/ss.h ${STAGING_INCDIR}/ss/
26 install -m 0644 lib/ss/ss_err.h ${STAGING_INCDIR}/ss/
27 install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/
28 install -m 0644 lib/uuid/uuid_types.h ${STAGING_INCDIR}/uuid/
29 install -m 0644 lib/blkid/blkid.h ${STAGING_INCDIR}/blkid/
30 install -m 0644 lib/blkid/blkid_types.h ${STAGING_INCDIR}/blkid/
31}
diff --git a/meta/packages/e2fsprogs-libs/e2fsprogs-libs_1.39.bb b/meta/packages/e2fsprogs-libs/e2fsprogs-libs_1.39.bb
new file mode 100644
index 0000000000..dfd83e3c1f
--- /dev/null
+++ b/meta/packages/e2fsprogs-libs/e2fsprogs-libs_1.39.bb
@@ -0,0 +1,13 @@
1require e2fsprogs-libs.inc
2
3PR = "r1"
4
5SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \
6 file://configure.patch;patch=1"
7
8EXTRA_OECONF=" --enable-elf-shlibs "
9
10do_compile_prepend () {
11 find ./ -print|xargs chmod u=rwX
12 ( cd util; ${BUILD_CC} subst.c -o subst )
13}