summaryrefslogtreecommitdiff
path: root/packages/xlibs/libxpm_3.5.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xlibs/libxpm_3.5.1.bb')
-rw-r--r--packages/xlibs/libxpm_3.5.1.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/xlibs/libxpm_3.5.1.bb b/packages/xlibs/libxpm_3.5.1.bb
new file mode 100644
index 0000000000..513261efd3
--- /dev/null
+++ b/packages/xlibs/libxpm_3.5.1.bb
@@ -0,0 +1,19 @@
+SECTION = "x11/libs"
+LICENSE = "X-BSD"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto libx11"
+PROVIDES = "xpm"
+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}
+}