diff options
Diffstat (limited to 'packages/twin')
-rw-r--r-- | packages/twin/twin_0.4.6.bb | 22 | ||||
-rw-r--r-- | packages/twin/twutils_0.2.bb | 19 |
2 files changed, 41 insertions, 0 deletions
diff --git a/packages/twin/twin_0.4.6.bb b/packages/twin/twin_0.4.6.bb index e69de29bb2..cf40f9cb52 100644 --- a/packages/twin/twin_0.4.6.bb +++ b/packages/twin/twin_0.4.6.bb @@ -0,0 +1,22 @@ +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." +MAINTAINER = "Chris Lord <cwiiis@blueyonder.co.uk>" +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/ +} diff --git a/packages/twin/twutils_0.2.bb b/packages/twin/twutils_0.2.bb index e69de29bb2..f7a1fc3778 100644 --- a/packages/twin/twutils_0.2.bb +++ b/packages/twin/twutils_0.2.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Utilities for twin. Currently contains 'twkalc', a calculator derived from kcalc." +MAINTAINER = "Chris Lord <cwiiis@blueyonder.co.uk>" +DEPENDS = "twin" + +SECTION = "console/utils" +LICENSE = "GPL LGPL" +SRC_URI = "http://linuz.sns.it/~max/twin/twutils-0.2.tar.gz" + +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 +} |