db: Convert to use staging from install

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-11-17 14:21:22 +00:00
parent 833152ee0b
commit 06b28b570a
3 changed files with 0 additions and 39 deletions

View File

@ -9,16 +9,3 @@ CONFLICTS = "db3-native"
require db_${PV}.bb
inherit native
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-4.2 ${STAGING_LIBDIR}
ln -sf libdb-4.2.so ${STAGING_LIBDIR}/libdb.so
ln -sf libdb-4.2.a ${STAGING_LIBDIR}/libdb.a
}

View File

@ -78,19 +78,6 @@ do_configure() {
oe_runconf
}
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-4.2 ${STAGING_LIBDIR}
ln -sf libdb-4.2.so ${STAGING_LIBDIR}/libdb.so
ln -sf libdb-4.2.a ${STAGING_LIBDIR}/libdb.a
}
do_install_append() {
# The docs end up in /usr/docs - not right.
if test -d "${D}/${prefix}/docs"

View File

@ -78,19 +78,6 @@ do_configure() {
oe_runconf
}
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-4.3 ${STAGING_LIBDIR}
ln -sf libdb-4.3.so ${STAGING_LIBDIR}/libdb.so
ln -sf libdb-4.3.a ${STAGING_LIBDIR}/libdb.a
}
do_install_append() {
# The docs end up in /usr/docs - not right.
if test -d "${D}/${prefix}/docs"