summaryrefslogtreecommitdiff
path: root/packages/xt
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xt')
-rw-r--r--packages/xt/xt_0.1.5.bb24
-rw-r--r--packages/xt/xt_cvs.bb15
2 files changed, 39 insertions, 0 deletions
diff --git a/packages/xt/xt_0.1.5.bb b/packages/xt/xt_0.1.5.bb
index e69de29bb2..29c13f2e98 100644
--- a/packages/xt/xt_0.1.5.bb
+++ b/packages/xt/xt_0.1.5.bb
@@ -0,0 +1,24 @@
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "x11 libsm"
+DESCRIPTION = "X Toolkit Intrinsics"
+LICENSE = "X-MIT"
+SRC_URI = "${XLIBS_MIRROR}/libXt-${PV}.tar.bz2"
+S = "${WORKDIR}/libXt-${PV}"
+
+inherit autotools pkgconfig
+
+#nasty hack as utils need to be native
+do_compile() {
+ (
+ unset CC LD CXX CCLD
+# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake -C util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makestrs
+ )
+ oe_runmake
+}
+
+do_stage () {
+ oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR}
+}
diff --git a/packages/xt/xt_cvs.bb b/packages/xt/xt_cvs.bb
index e69de29bb2..e38828b5bc 100644
--- a/packages/xt/xt_cvs.bb
+++ b/packages/xt/xt_cvs.bb
@@ -0,0 +1,15 @@
+PV = "0.0cvs${CVSDATE}"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "x11 libsm"
+DESCRIPTION = "X Toolkit Intrinsics"
+LICENSE = "X-MIT"
+SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xlibs;module=Xt"
+S = "${WORKDIR}/Xt"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR}
+}