diff options
author | Junqian Gordon Xu <xjqian@gmail.com> | 2008-03-24 22:14:35 +0000 |
---|---|---|
committer | Junqian Gordon Xu <xjqian@gmail.com> | 2008-03-24 22:14:35 +0000 |
commit | 653d4fad20bd2ecbc94f608bfd52bb93f0c0f650 (patch) | |
tree | 71f1fe787fdaf5890c22c54b943af98093b1fb60 /packages/db/db4-native.inc | |
parent | a010f2d39074bf5e4b94128bc149579751f9b462 (diff) |
db: fix upstream SRC_URI, unify db4.
Diffstat (limited to 'packages/db/db4-native.inc')
-rw-r--r-- | packages/db/db4-native.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/db/db4-native.inc b/packages/db/db4-native.inc new file mode 100644 index 0000000000..cc83d86dd8 --- /dev/null +++ b/packages/db/db4-native.inc @@ -0,0 +1,28 @@ +# This wrapper builds a native version of the Oracal +# Berkeley DB for those packages which need it (e.g. +# perl). + +VIRTUAL_NAME = "virtual/db-native" +CONFLICTS = "db3-native" +#PR tracks the non-native package + +inherit native + +do_package() { +: +} + +PACKAGES = "" + +do_stage() { + # The .h files get installed read-only, the autostage + # function just uses cp -pPR, so do this by hand + rm -rf ${STAGE_TEMP} + mkdir -p ${STAGE_TEMP} + oe_runmake DESTDIR="${STAGE_TEMP}" install_include + cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/. + rm -rf ${STAGE_TEMP} + oe_libinstall -so -C .libs libdb-${PVM} ${STAGING_LIBDIR} + ln -sf libdb-${PVM}.so ${STAGING_LIBDIR}/libdb.so + ln -sf libdb-${PVM}.a ${STAGING_LIBDIR}/libdb.a +} |