diff options
Diffstat (limited to 'meta-oe/recipes-support/gpm/gpm_git.bb')
-rw-r--r-- | meta-oe/recipes-support/gpm/gpm_git.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb index 31503e9c62..155e56bdef 100644 --- a/meta-oe/recipes-support/gpm/gpm_git.bb +++ b/meta-oe/recipes-support/gpm/gpm_git.bb | |||
@@ -15,23 +15,29 @@ DEPENDS = "ncurses bison-native" | |||
15 | SRC_URI = "git://github.com/telmich/gpm;protocol=https;branch=master \ | 15 | SRC_URI = "git://github.com/telmich/gpm;protocol=https;branch=master \ |
16 | file://init \ | 16 | file://init \ |
17 | file://gpm.service.in \ | 17 | file://gpm.service.in \ |
18 | file://0001-Avoid-shadowing-ncurses-functions.patch \ | ||
19 | file://0002-Fix-function-definition-in-yacc-source-file-until-va.patch \ | ||
20 | file://0003-Add-incomplete-type-definition-for-WINDOW-in-Gpm_Wge.patch \ | ||
18 | " | 21 | " |
19 | 22 | ||
20 | S = "${WORKDIR}/git" | ||
21 | 23 | ||
22 | inherit autotools-brokensep update-rc.d systemd texinfo | 24 | inherit autotools-brokensep update-rc.d systemd texinfo |
23 | 25 | ||
24 | INITSCRIPT_NAME = "gpm" | 26 | INITSCRIPT_NAME = "gpm" |
25 | INITSCRIPT_PARAMS = "defaults" | 27 | INITSCRIPT_PARAMS = "defaults" |
26 | 28 | ||
29 | # Avoid line statements with bison/yacc | ||
30 | # ERROR: lib32-gpm-1.99.7+gite82d1a653ca94aa4ed12441424da6ce780b1e530-r0 do_package_qa: QA Issue: File /usr/src/debug/lib32-gpm/1.99.7+gite82d1a653ca94aa4ed12441424da6ce780b1e530/src/prog/gpm-root.c in package lib32-gpm-src contains reference to TMPDIR [buildpaths] | ||
31 | EXTRA_OEMAKE = "YFLAGS='-l'" | ||
32 | |||
27 | do_configure:prepend() { | 33 | do_configure:prepend() { |
28 | (cd ${S};./autogen.sh;cd -) | 34 | (cd ${S};./autogen.sh;cd -) |
29 | } | 35 | } |
30 | 36 | ||
31 | do_install:append () { | 37 | do_install:append () { |
32 | install -d ${D}${systemd_system_unitdir} | 38 | install -d ${D}${systemd_system_unitdir} |
33 | sed 's:@bindir@:${sbindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service | 39 | sed 's:@bindir@:${sbindir}:' < ${UNPACKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service |
34 | install -D -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/gpm | 40 | install -D -m 0755 ${UNPACKDIR}/init ${D}${INIT_D_DIR}/gpm |
35 | ln -s libgpm.so.2 ${D}${libdir}/libgpm.so | 41 | ln -s libgpm.so.2 ${D}${libdir}/libgpm.so |
36 | } | 42 | } |
37 | 43 | ||