summaryrefslogtreecommitdiff
path: root/packages/xpm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xpm')
-rw-r--r--packages/xpm/files/autofoo.patch0
-rw-r--r--packages/xpm/xpm_3.5.1.bb18
-rw-r--r--packages/xpm/xpm_cvs.bb19
3 files changed, 37 insertions, 0 deletions
diff --git a/packages/xpm/files/autofoo.patch b/packages/xpm/files/autofoo.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xpm/files/autofoo.patch
diff --git a/packages/xpm/xpm_3.5.1.bb b/packages/xpm/xpm_3.5.1.bb
index e69de29bb2..ea863f1eb6 100644
--- a/packages/xpm/xpm_3.5.1.bb
+++ b/packages/xpm/xpm_3.5.1.bb
@@ -0,0 +1,18 @@
+SECTION = "x11/libs"
+LICENSE = "X-BSD"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto x11"
+DESCRIPTION = "X Pixmap library."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXpm-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXpm-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ install -m 0644 ${S}/lib/xpm.h ${STAGING_INCDIR}/X11/xpm.h
+ oe_libinstall -a -so -C lib libXpm ${STAGING_LIBDIR}
+}
diff --git a/packages/xpm/xpm_cvs.bb b/packages/xpm/xpm_cvs.bb
index e69de29bb2..72e39d0fc9 100644
--- a/packages/xpm/xpm_cvs.bb
+++ b/packages/xpm/xpm_cvs.bb
@@ -0,0 +1,19 @@
+PV = "0.0cvs${CVSDATE}"
+LICENSE = "X-BSD"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto x11"
+DESCRIPTION = "X Pixmap library."
+PR = "r1"
+
+SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xlibs;module=Xpm \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/Xpm"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ install -m 0644 ${S}/lib/xpm.h ${STAGING_INCDIR}/X11/xpm.h
+ oe_libinstall -a -so -C lib libXpm ${STAGING_LIBDIR}
+}