summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2008-10-08 19:48:13 +0000
committerPaul Eggleton <bluelightning@bluelightning.org>2008-10-08 19:48:13 +0000
commitf5e0e9b0be026d5f652837c2e3fbe4768f518e92 (patch)
treeb90e5bd13e1fd230aeebc8d66aedc861bb934a0e
parentbfc178f2ca021d618aa5bfa225c13bd4269c1e33 (diff)
metakit: fix library installation/packaging
-rw-r--r--packages/portabase/metakit_2.4.9.3.bb15
1 files changed, 7 insertions, 8 deletions
diff --git a/packages/portabase/metakit_2.4.9.3.bb b/packages/portabase/metakit_2.4.9.3.bb
index 43794f3e6f..404dfcfe1e 100644
--- a/packages/portabase/metakit_2.4.9.3.bb
+++ b/packages/portabase/metakit_2.4.9.3.bb
@@ -8,13 +8,16 @@ HOMEPAGE = "http://www.equi4.com/metakit.html"
SRC_URI = "http://www.equi4.com/pub/mk/metakit-${PV}.tar.gz \
file://metakit-2.4.9.3.patch;patch=1"
-PR = "r2"
+PR = "r3"
+
+FILES_${PN} += " ${libdir}/*.so"
do_configure_prepend() {
# cp ${STAGING_DATADIR}/libtool/*.* ${S}/unix/scripts/
}
+
do_configure () {
cd builds
@@ -41,10 +44,8 @@ do_configure () {
}
-
do_stage() {
-# oe_libinstall -a -C builds/.libs libmk4 ${STAGING_LIBDIR}
- cp builds/.libs/libmk4.a ${STAGING_LIBDIR}
+ oe_libinstall -a -so -C builds/.libs libmk4 ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/
for X in mk4.h mk4.inl
do
@@ -53,14 +54,12 @@ do_stage() {
}
-
-
do_compile () {
cd builds
oe_runmake
}
do_install() {
-
- :
+ oe_libinstall -so -C builds/.libs libmk4 ${D}${libdir}
}
+