summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libxi/files/autofoo.patch0
-rw-r--r--packages/libxi/libxi_6.0.1.bb19
-rw-r--r--packages/libxi/libxi_cvs.bb20
3 files changed, 39 insertions, 0 deletions
diff --git a/packages/libxi/files/autofoo.patch b/packages/libxi/files/autofoo.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libxi/files/autofoo.patch
diff --git a/packages/libxi/libxi_6.0.1.bb b/packages/libxi/libxi_6.0.1.bb
index e69de29bb2..fae7255b1a 100644
--- a/packages/libxi/libxi_6.0.1.bb
+++ b/packages/libxi/libxi_6.0.1.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "X Input Extension library"
+SECTION = "x11/libs"
+DEPENDS = "xproto x11 xextensions"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXi-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXi-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR}
+}
+
diff --git a/packages/libxi/libxi_cvs.bb b/packages/libxi/libxi_cvs.bb
index e69de29bb2..80955c7f15 100644
--- a/packages/libxi/libxi_cvs.bb
+++ b/packages/libxi/libxi_cvs.bb
@@ -0,0 +1,20 @@
+PV = "0.0cvs${CVSDATE}"
+SECTION = "x11/libs"
+DEPENDS = "xproto x11 xextensions"
+DESCRIPTION = "X Input extension library."
+PR = "r1"
+
+SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xlibs;module=Xi \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/Xi"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DATADIR}/man
+}