diff options
Diffstat (limited to 'meta-oe/recipes-support/gpm/gpm_1.99.7.bb')
-rw-r--r-- | meta-oe/recipes-support/gpm/gpm_1.99.7.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb new file mode 100644 index 000000000..bd42de3dc --- /dev/null +++ b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \ | ||
2 | for the console and xterm, with sample clients included \ | ||
3 | (emacs, etc)." | ||
4 | SECTION = "console/utils" | ||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://gpm2/core/main.c;endline=19;md5=66d3c205c4e7ee5704b2ee351dfed72f" | ||
7 | |||
8 | DEPENDS = "ncurses" | ||
9 | |||
10 | SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \ | ||
11 | file://no-docs.patch \ | ||
12 | file://processcreds.patch \ | ||
13 | file://init" | ||
14 | |||
15 | inherit autotools update-rc.d | ||
16 | |||
17 | INITSCRIPT_NAME = "gpm" | ||
18 | INITSCRIPT_PARAMS = "defaults" | ||
19 | |||
20 | #export LIBS = "-lm" | ||
21 | |||
22 | # all fields are /* FIXME: gpm 1.99.13 */ | ||
23 | # gpm-1.99.7/src/lib/libhigh.c:171:43: error: parameter 'clientdata' set but not used [-Werror=unused-but-set-parameter] | ||
24 | # gpm-1.99.7/src/lib/report-lib.c:28:21: error: parameter 'line' set but not used [-Werror=unused-but-set-parameter] | ||
25 | # gpm-1.99.7/src/lib/report-lib.c:28:33: error: parameter 'file' set but not used [-Werror=unused-but-set-parameter] | ||
26 | # gpm-1.99.7/src/drivers/empty/i.c:26:23: error: parameter 'fd' set but not used [-Werror=unused-but-set-parameter] | ||
27 | # gpm-1.99.7/src/drivers/empty/i.c:26:42: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter] | ||
28 | # gpm-1.99.7/src/drivers/etouch/i.c:34:43: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter] | ||
29 | # gpm-1.99.7/src/drivers/msc/r.c:32:12: error: variable 'dy' set but not used [-Werror=unused-but-set-variable] | ||
30 | # gpm-1.99.7/src/drivers/msc/r.c:32:8: error: variable 'dx' set but not used [-Werror=unused-but-set-variable] | ||
31 | # cc1: all warnings being treated as errors | ||
32 | CFLAGS += "-Wno-extra -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable" | ||
33 | |||
34 | do_install () { | ||
35 | oe_runmake 'ROOT=${D}' install | ||
36 | install -m 0644 src/headers/gpm.h ${D}${includedir} | ||
37 | install -d ${D}/${sysconfdir}/init.d | ||
38 | install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm | ||
39 | cd ${D}${libdir} && ln -sf libgpm.so.1.19.0 libgpm.so.1 | ||
40 | } | ||
41 | SRC_URI[md5sum] = "9fdddf5f53cb11d40bb2bb671d3ac544" | ||
42 | SRC_URI[sha256sum] = "6071378b24494e36ca3ef6377606e7e565040413c86704753a162d2180af32ee" | ||
43 | |||