summaryrefslogtreecommitdiff
path: root/twin
diff options
context:
space:
mode:
Diffstat (limited to 'twin')
-rw-r--r--twin/twin_0.4.6.oe14
-rw-r--r--twin/twutils_0.2.oe11
2 files changed, 11 insertions, 14 deletions
diff --git a/twin/twin_0.4.6.oe b/twin/twin_0.4.6.oe
index 4ca0f80acc..9d661811a0 100644
--- a/twin/twin_0.4.6.oe
+++ b/twin/twin_0.4.6.oe
@@ -13,18 +13,8 @@ do_compile () {
oe_runmake 'HOSTCC=${BUILD_CC}'
}
-Tw_headers = "Tw1.h Twautoconf.h Twavl.h Tw_defs.h Twerrno.h Tw.h Tw++.h Twkeys.h Twstat_defs.h Twstat.h Twtypes.h"
-
-
do_stage () {
-# oe_libinstall -so -C libs/libTw libTw ${STAGING_LIBDIR}
-
- install -m 0644 ${S}/libs/libTw/libTw.la ${STAGING_LIBDIR}
- install -m 0644 ${S}/libs/libTw/libTw.so ${STAGING_LIBDIR}
- install -m 0644 ${S}/libs/libTw/libTw.so.3 ${STAGING_LIBDIR}
- install -m 0644 ${S}/libs/libTw/libTw.so.3.0.9 ${STAGING_LIBDIR}
+ oe_soinstall libs/libTw/libTw.so.3.0.9 ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/Tw
- for i in ${Tw_headers}; do
- install -m 0644 ${S}/include/Tw/$i ${STAGING_INCDIR}/Tw
- done
+ install -m 0644 include/Tw/*.h ${STAGING_INCDIR}/Tw/
}
diff --git a/twin/twutils_0.2.oe b/twin/twutils_0.2.oe
index d9a7b25475..45c2cffa72 100644
--- a/twin/twutils_0.2.oe
+++ b/twin/twutils_0.2.oe
@@ -4,7 +4,14 @@ DEPENDS = "twin"
SRC_URI = "http://linuz.sns.it/~max/twin/twutils-0.2.tar.gz"
-#EXTRA_OECONF = ""
-
inherit autotools
+CXXFLAGS_append = " -DHAVE_FUNC_ISINF"
+LDFLAGS_append = " -L${STAGING_LIBDIR}"
+
+do_compile() {
+ for i in admin twkalc
+ do
+ cd ${S}/$i && oe_runmake LDFLAGS="${LDFLAGS}"
+ done
+}