summaryrefslogtreecommitdiff
path: root/recipes/twin/twin_0.4.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/twin/twin_0.4.6.bb')
-rw-r--r--recipes/twin/twin_0.4.6.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/twin/twin_0.4.6.bb b/recipes/twin/twin_0.4.6.bb
new file mode 100644
index 0000000000..fdb9c25e39
--- /dev/null
+++ b/recipes/twin/twin_0.4.6.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Twin is a text-mode windowing environment: it draws and manages text windows on a text-mode display, like X11 does for graphical windows. It has a built-in window manager and terminal emulator, and can be used as server for remote clients in the same style as X11. It can display on Linux console, on X11 and inside itself."
+SECTION = "console/utils"
+
+DEPENDS = "coreutils-native"
+LICENSE = "GPL LGPL"
+SRC_URI = "http://linuz.sns.it/~max/twin/twin-0.4.6.tar.gz \
+ file://cross_compile.patch;patch=1"
+
+EXTRA_OECONF = " --disable-tt-hw-x11 --disable-hw-x11 --disable-tt-hw-gtk"
+
+inherit autotools
+
+do_compile () {
+ oe_runmake 'HOSTCC=${BUILD_CC}'
+}
+
+do_stage () {
+ oe_soinstall libs/libTw/libTw.so.3.0.9 ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/Tw
+ install -m 0644 include/Tw/*.h ${STAGING_INCDIR}/Tw/
+}