summaryrefslogtreecommitdiff
path: root/packages/gpm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gpm')
-rw-r--r--packages/gpm/gpm_1.20.1.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/gpm/gpm_1.20.1.bb b/packages/gpm/gpm_1.20.1.bb
index e69de29bb2..2ceea6fccd 100644
--- a/packages/gpm/gpm_1.20.1.bb
+++ b/packages/gpm/gpm_1.20.1.bb
@@ -0,0 +1,26 @@
+SECTION = "console/utils"
+LICENSE = "GPL"
+DEPENDS = "ncurses"
+DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \
+for the console and xterm, with sample clients included \
+(emacs, etc)."
+
+SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \
+ file://configure.patch;patch=1 \
+ file://no-docs.patch;patch=1"
+
+inherit autotools
+
+export LIBS = "-lm"
+do_configure_prepend () {
+ cp aclocal.m4 acinclude.m4
+}
+
+do_stage () {
+ install -m 0644 src/headers/gpm.h ${STAGING_INCDIR}/
+ oe_libinstall -so -a -C src/lib libgpm ${STAGING_LIBDIR}
+}
+
+do_install () {
+ oe_runmake 'ROOT=${D}' install
+}