diff options
| -rw-r--r-- | meta-oe/recipes-support/gpm/gpm_git.bb | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb index b64f05c570..7034d33858 100644 --- a/meta-oe/recipes-support/gpm/gpm_git.bb +++ b/meta-oe/recipes-support/gpm/gpm_git.bb | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | SUMMARY = "Console mouse driver" | ||
| 1 | DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \ | 2 | DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \ |
| 2 | for the console and xterm, with sample clients included \ | 3 | for the console and xterm, with sample clients included \ |
| 3 | (emacs, etc)." | 4 | (emacs, etc)." |
| 5 | HOMEPAGE = "https://www.nico.schottelius.org/software/gpm" | ||
| 4 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
| 5 | LICENSE = "GPLv2+" | 7 | LICENSE = "GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" |
| @@ -29,17 +31,10 @@ do_configure_prepend() { | |||
| 29 | } | 31 | } |
| 30 | 32 | ||
| 31 | do_install_append () { | 33 | do_install_append () { |
| 32 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 34 | install -d ${D}${systemd_system_unitdir} |
| 33 | install -d ${D}${systemd_system_unitdir} | 35 | sed 's:@bindir@:${sbindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service |
| 34 | sed 's:@bindir@:${sbindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service | 36 | install -D -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/gpm |
| 35 | fi | ||
| 36 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | ||
| 37 | install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm | ||
| 38 | fi | ||
| 39 | install -D -m 0644 ${S}/src/headers/gpm.h ${D}${includedir}/gpm.h | ||
| 40 | ln -s libgpm.so.2 ${D}${libdir}/libgpm.so | 37 | ln -s libgpm.so.2 ${D}${libdir}/libgpm.so |
| 41 | } | 38 | } |
| 42 | 39 | ||
| 43 | SYSTEMD_SERVICE_${PN} = "gpm.service" | 40 | SYSTEMD_SERVICE_${PN} = "gpm.service" |
| 44 | |||
| 45 | FILES_${PN} += "${datadir}/emacs" | ||
