diff options
-rw-r--r-- | meta/packages/check/check_0.9.5.bb | 19 | ||||
-rw-r--r-- | meta/packages/check/files/configure_fix.patch | 12 | ||||
-rw-r--r-- | meta/packages/uuid/files/fixes.patch | 42 | ||||
-rw-r--r-- | meta/packages/uuid/uuid_1.6.2.bb | 15 | ||||
-rw-r--r-- | meta/packages/xerces-c/xerces-c_2.8.0.bb | 36 |
5 files changed, 124 insertions, 0 deletions
diff --git a/meta/packages/check/check_0.9.5.bb b/meta/packages/check/check_0.9.5.bb new file mode 100644 index 0000000000..eccb8b7582 --- /dev/null +++ b/meta/packages/check/check_0.9.5.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "a unit test framework for C" | ||
2 | LICENSE = "LGPL" | ||
3 | PRIORITY = "optional" | ||
4 | SECTION = "devel" | ||
5 | |||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \ | ||
9 | file://configure_fix.patch;patch=1" | ||
10 | S = "${WORKDIR}/check-${PV}" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | EXTRA_OECONF += "--enable-plain-docdir" | ||
15 | |||
16 | do_stage() { | ||
17 | autotools_stage_all | ||
18 | } | ||
19 | |||
diff --git a/meta/packages/check/files/configure_fix.patch b/meta/packages/check/files/configure_fix.patch new file mode 100644 index 0000000000..3e79319d80 --- /dev/null +++ b/meta/packages/check/files/configure_fix.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: check-0.9.5/configure.ac | ||
2 | =================================================================== | ||
3 | --- check-0.9.5.orig/configure.ac 2008-10-29 04:09:50.000000000 +0000 | ||
4 | +++ check-0.9.5/configure.ac 2008-10-29 04:10:06.000000000 +0000 | ||
5 | @@ -71,6 +71,7 @@ | ||
6 | AC_PROG_INSTALL | ||
7 | AC_PROG_LN_S | ||
8 | AC_PROG_LIBTOOL | ||
9 | +AM_PROG_CC_C_O | ||
10 | if test -n "$GCC"; then | ||
11 | CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings" | ||
12 | fi | ||
diff --git a/meta/packages/uuid/files/fixes.patch b/meta/packages/uuid/files/fixes.patch new file mode 100644 index 0000000000..8a792c7239 --- /dev/null +++ b/meta/packages/uuid/files/fixes.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | Index: uuid-1.6.2/Makefile.in | ||
2 | =================================================================== | ||
3 | --- uuid-1.6.2.orig/Makefile.in 2008-10-29 04:37:32.000000000 +0000 | ||
4 | +++ uuid-1.6.2/Makefile.in 2008-10-29 04:40:18.000000000 +0000 | ||
5 | @@ -55,7 +55,6 @@ | ||
6 | CP = cp | ||
7 | RMDIR = rmdir | ||
8 | SHTOOL = $(S)/shtool | ||
9 | -LIBTOOL = $(C)/libtool | ||
10 | TRUE = true | ||
11 | POD2MAN = pod2man | ||
12 | PERL = @PERL@ | ||
13 | Index: uuid-1.6.2/configure.ac | ||
14 | =================================================================== | ||
15 | --- uuid-1.6.2.orig/configure.ac 2008-10-29 04:31:31.000000000 +0000 | ||
16 | +++ uuid-1.6.2/configure.ac 2008-10-29 04:33:07.000000000 +0000 | ||
17 | @@ -40,11 +40,8 @@ | ||
18 | |||
19 | AC_PROG_MAKE_SET | ||
20 | AC_PROG_CC | ||
21 | -AC_CHECK_DEBUGGING | ||
22 | -AC_CHECK_DMALLOC | ||
23 | |||
24 | with_tags="" | ||
25 | -sinclude(libtool.m4) | ||
26 | AC_PROG_LIBTOOL | ||
27 | |||
28 | sinclude(uuid.ac) | ||
29 | Index: uuid-1.6.2/uuid.ac | ||
30 | =================================================================== | ||
31 | --- uuid-1.6.2.orig/uuid.ac 2008-10-29 04:31:39.000000000 +0000 | ||
32 | +++ uuid-1.6.2/uuid.ac 2008-10-29 04:31:53.000000000 +0000 | ||
33 | @@ -39,9 +39,6 @@ | ||
34 | fi | ||
35 | AC_CHECK_LIB(socket, accept) | ||
36 | |||
37 | - dnl # check for portable va_copy() | ||
38 | - AC_CHECK_VA_COPY() | ||
39 | - | ||
40 | dnl # check for system headers | ||
41 | AC_CHECK_HEADERS(sys/types.h sys/param.h sys/time.h sys/socket.h sys/sockio.h sys/ioctl.h sys/select.h) | ||
42 | AC_CHECK_HEADERS(netdb.h ifaddrs.h net/if.h net/if_dl.h net/if_arp.h netinet/in.h arpa/inet.h,,, | ||
diff --git a/meta/packages/uuid/uuid_1.6.2.bb b/meta/packages/uuid/uuid_1.6.2.bb new file mode 100644 index 0000000000..eb76349d8f --- /dev/null +++ b/meta/packages/uuid/uuid_1.6.2.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SRC_URI = "ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz \ | ||
2 | file://fixes.patch;patch=1" | ||
3 | PR = "r0" | ||
4 | |||
5 | inherit autotools | ||
6 | |||
7 | do_configure_prepend () { | ||
8 | rm libtool.m4 | ||
9 | } | ||
10 | |||
11 | export LIBTOOL = "${S}/${TARGET_PREFIX}libtool" | ||
12 | |||
13 | do_stage () { | ||
14 | autotools_stage_all | ||
15 | } \ No newline at end of file | ||
diff --git a/meta/packages/xerces-c/xerces-c_2.8.0.bb b/meta/packages/xerces-c/xerces-c_2.8.0.bb new file mode 100644 index 0000000000..d78bb22ad9 --- /dev/null +++ b/meta/packages/xerces-c/xerces-c_2.8.0.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | DESCRIPTION = "Xerces-c is a validating xml parser written in C++" | ||
2 | HOMEPAGE = "http://xerces.apache.org/xerces-c/" | ||
3 | SECTION = "libs" | ||
4 | PRIORITY = "optional" | ||
5 | LICENSE = "MIT" | ||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "http://mirror.serversupportforum.de/apache/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz" | ||
9 | S = "${WORKDIR}/xerces-c-src_2_8_0/src/xercesc" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | CCACHE = "" | ||
14 | export XERCESCROOT="${WORKDIR}/xerces-c-src_2_8_0" | ||
15 | export cross_compiling = "yes" | ||
16 | |||
17 | do_configure() { | ||
18 | ./runConfigure -plinux -c"${CC}" -x"${CXX}" -minmem -nsocket -tnative -rpthread -P${D}${prefix} \ | ||
19 | -C--build=${BUILD_SYS} \ | ||
20 | -C--host=${HOST_SYS} \ | ||
21 | -C--target=${TARGET_SYS} \ | ||
22 | } | ||
23 | |||
24 | do_compile() { | ||
25 | ${MAKE} | ||
26 | } | ||
27 | |||
28 | do_stage () { | ||
29 | oe_libinstall -C ${XERCESCROOT}/lib libxerces-c ${STAGING_LIBDIR} | ||
30 | oe_libinstall -C ${XERCESCROOT}/lib libxerces-depdom ${STAGING_LIBDIR} | ||
31 | cp -pPR ${XERCESCROOT}/include/xercesc ${STAGING_INCDIR} | ||
32 | } | ||
33 | |||
34 | do_install () { | ||
35 | ${MAKE} install | ||
36 | } | ||