1 # This wrapper builds a native version of the Oracal
2 # Berkeley DB for those packages which need it (e.g.
5 VIRTUAL_NAME = "virtual/db-native"
6 CONFLICTS = "db3-native"
7 #PR tracks the non-native package
18 # The .h files get installed read-only, the autostage
19 # function just uses cp -pPR, so do this by hand
21 mkdir -p ${STAGE_TEMP}
22 oe_runmake DESTDIR="${STAGE_TEMP}" install_include
23 cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/.
25 oe_libinstall -so -C .libs libdb-${PVM} ${STAGING_LIBDIR}
26 ln -sf libdb-${PVM}.so ${STAGING_LIBDIR}/libdb.so
27 ln -sf libdb-${PVM}.a ${STAGING_LIBDIR}/libdb.a