diff options
Diffstat (limited to 'openembedded/packages/db/db_4.1.25.bb')
-rw-r--r-- | openembedded/packages/db/db_4.1.25.bb | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/openembedded/packages/db/db_4.1.25.bb b/openembedded/packages/db/db_4.1.25.bb index 168dde478d..381c69a616 100644 --- a/openembedded/packages/db/db_4.1.25.bb +++ b/openembedded/packages/db/db_4.1.25.bb | |||
@@ -12,7 +12,7 @@ SECTION = "libs" | |||
12 | DESCRIPTION = "Berkeley DB v4." | 12 | DESCRIPTION = "Berkeley DB v4." |
13 | HOMEPAGE = "http://www.sleepycat.com" | 13 | HOMEPAGE = "http://www.sleepycat.com" |
14 | LICENSE = "BSD Sleepycat" | 14 | LICENSE = "BSD Sleepycat" |
15 | PR = "r1" | 15 | PR = "r2" |
16 | 16 | ||
17 | SRC_URI = "http://downloads.sleepycat.com/${P}.tar.gz" | 17 | SRC_URI = "http://downloads.sleepycat.com/${P}.tar.gz" |
18 | 18 | ||
@@ -36,7 +36,7 @@ S = "${WORKDIR}/${P}/build_unix" | |||
36 | PACKAGES += " ${PN}-bin" | 36 | PACKAGES += " ${PN}-bin" |
37 | 37 | ||
38 | # Package contents | 38 | # Package contents |
39 | FILES_${PN} = "${libdir}/libdb-4*so*" | 39 | FILES_${PN} = "${libdir}/libdb*so*" |
40 | FILES_${PN}-bin = "${bindir}" | 40 | FILES_${PN}-bin = "${bindir}" |
41 | # The dev package has the .so link (as in db3) and the .a's - | 41 | # The dev package has the .so link (as in db3) and the .a's - |
42 | # it is therefore incompatible (cannot be installed at the | 42 | # it is therefore incompatible (cannot be installed at the |
@@ -68,20 +68,10 @@ do_configure() { | |||
68 | } | 68 | } |
69 | 69 | ||
70 | do_stage() { | 70 | do_stage() { |
71 | # The .h files get installed read-only, the autostage | 71 | oe_runmake DESTDIR="${STAGING_DIR}/${BUILD_SYS}" includedir="${STAGING_INCDIR}" install_include |
72 | # function just uses cp -pPR, so do this by hand | ||
73 | # Install, for the moment, into include/db4 to avoid | ||
74 | # interfering with the db3 headers (which have the same | ||
75 | # name). -I${STAGING_INCDIR}/db4 to use db4, as opposed | ||
76 | # to db3 | ||
77 | |||
78 | rm -rf ${STAGE_TEMP} | ||
79 | mkdir -p ${STAGE_TEMP} | ||
80 | oe_runmake DESTDIR="${STAGE_TEMP}" includedir="${STAGE_TEMP}${includedir}" install_include | ||
81 | mkdir -p ${STAGING_INCDIR}/db4 | ||
82 | cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/db4 | ||
83 | rm -rf ${STAGE_TEMP} | ||
84 | oe_libinstall -so -C .libs libdb-4.1 ${STAGING_LIBDIR} | 72 | oe_libinstall -so -C .libs libdb-4.1 ${STAGING_LIBDIR} |
73 | ln -s ${STAGING_LIBDIR}/libdb-4.1.so ${STAGING_LIBDIR}/libdb-4.so | ||
74 | ln -s ${STAGING_LIBDIR}/libdb-4.so ${STAGING_LIBDIR}/libdb.so | ||
85 | } | 75 | } |
86 | 76 | ||
87 | do_install() { | 77 | do_install() { |