diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-19 22:43:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-19 22:43:56 +0000 |
commit | 1cdaf69d922b47af366aae30425ec6fe4b800920 (patch) | |
tree | c09c49363c5b1ed37dfdd24825a8f768e665a6ae /meta/packages/db/db-native_4.2.52.bb | |
parent | ce1e2f2df5b245382aa90fb37aae879faf87a570 (diff) | |
download | poky-1cdaf69d922b47af366aae30425ec6fe4b800920.tar.gz |
db-native: Add custom stage function
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4082 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/db/db-native_4.2.52.bb')
-rw-r--r-- | meta/packages/db/db-native_4.2.52.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/packages/db/db-native_4.2.52.bb b/meta/packages/db/db-native_4.2.52.bb index 5d2e294a8f..4b374e2403 100644 --- a/meta/packages/db/db-native_4.2.52.bb +++ b/meta/packages/db/db-native_4.2.52.bb | |||
@@ -10,4 +10,15 @@ require db_${PV}.bb | |||
10 | 10 | ||
11 | inherit native | 11 | inherit native |
12 | 12 | ||
13 | PACKAGES = "" | 13 | do_stage() { |
14 | # The .h files get installed read-only, the autostage | ||
15 | # function just uses cp -pPR, so do this by hand | ||
16 | rm -rf ${STAGE_TEMP} | ||
17 | mkdir -p ${STAGE_TEMP} | ||
18 | oe_runmake DESTDIR="${STAGE_TEMP}" install_include | ||
19 | cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/. | ||
20 | rm -rf ${STAGE_TEMP} | ||
21 | oe_libinstall -so -C .libs libdb-4.2 ${STAGING_LIBDIR} | ||
22 | ln -sf libdb-4.2.so ${STAGING_LIBDIR}/libdb.so | ||
23 | ln -sf libdb-4.2.a ${STAGING_LIBDIR}/libdb.a | ||
24 | } | ||