mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-14 18:53:31 +00:00
* Add SUMMARY and HOMEPAGE * Remove unnecessary FILES line, as the specified directory does not exist * Remove unnecessary conditional placement of init script and systemd unit file. The update-rc.d and systemd classes handle packaging of these files. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
41 lines
1.2 KiB
BlitzBasic
41 lines
1.2 KiB
BlitzBasic
SUMMARY = "Console mouse driver"
|
|
DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \
|
|
for the console and xterm, with sample clients included \
|
|
(emacs, etc)."
|
|
HOMEPAGE = "https://www.nico.schottelius.org/software/gpm"
|
|
SECTION = "console/utils"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
|
|
|
|
PV = "1.99.7+git${SRCREV}"
|
|
PR = "r2"
|
|
SRCREV = "1fd19417b8a4dd9945347e98dfa97e4cfd798d77"
|
|
|
|
DEPENDS = "ncurses bison-native"
|
|
|
|
SRC_URI = "git://github.com/telmich/gpm;protocol=git \
|
|
file://init \
|
|
file://gpm.service.in \
|
|
file://0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools-brokensep update-rc.d systemd
|
|
|
|
INITSCRIPT_NAME = "gpm"
|
|
INITSCRIPT_PARAMS = "defaults"
|
|
|
|
do_configure_prepend() {
|
|
(cd ${S};./autogen.sh;cd -)
|
|
}
|
|
|
|
do_install_append () {
|
|
install -d ${D}${systemd_system_unitdir}
|
|
sed 's:@bindir@:${sbindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service
|
|
install -D -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/gpm
|
|
ln -s libgpm.so.2 ${D}${libdir}/libgpm.so
|
|
}
|
|
|
|
SYSTEMD_SERVICE_${PN} = "gpm.service"
|