Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / portabase / metakit_2.4.9.3.oe
1 SECTION = "libs"
2 DESCRIPTION = "Metakit is an efficient embedded database library with a small \
3 footprint. It fills the gap between flat-file, relational, object-oriented, and \
4 tree-structured databases, supporting relational joins, serialization, nested structures,\ 
5 and instant schema evolution."
6
7 HOMEPAGE = "http://www.equi4.com/metakit.html"
8 SRC_URI = "http://www.equi4.com/pub/mk/metakit-${PV}.tar.gz \
9            file://metakit-2.4.9.3.patch;patch=1"
10 PR = "r1"
11
12 do_configure_prepend() {
13
14         cp ${STAGING_DATADIR}/libtool/* ${S}/unix/scripts/
15         
16 }
17 do_configure () {
18
19         cd builds
20         ../unix/configure \
21                    --build=${BUILD_SYS} \
22                     --host=${HOST_SYS} \
23                     --target=${TARGET_SYS} \
24                     --prefix=${prefix} \
25                     --exec_prefix=${exec_prefix} \
26                     --bindir=${bindir} \
27                     --sbindir=${sbindir} \
28                     --libexecdir=${libexecdir} \
29                     --datadir=${datadir} \
30                     --sysconfdir=${sysconfdir} \
31                     --sharedstatedir=${sharedstatedir} \
32                     --localstatedir=${localstatedir} \
33                     --libdir=${libdir} \
34                     --includedir=${includedir} \
35                     --oldincludedir=${oldincludedir} \
36                     --infodir=${infodir} \
37                     --mandir=${mandir} \
38                         ${EXTRA_OECONF} \
39                     $@;
40         
41 }
42
43
44 do_stage() {
45 #       oe_libinstall  -a  -C builds/.libs libmk4  ${STAGING_LIBDIR}
46         cp builds/.libs/libmk4.a ${STAGING_LIBDIR}
47         install -d ${STAGING_INCDIR}/
48         for X in mk4.h mk4.inl
49         do
50                 install -m 0644 include/${X} ${STAGING_INCDIR}/${X}
51         done
52
53 }
54
55
56
57 do_compile () {
58         cd builds       
59         oe_runmake
60 }
61
62 do_install() {
63         
64         :
65 }