diff options
Diffstat (limited to 'meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb')
-rw-r--r-- | meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb b/meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb new file mode 100644 index 0000000000..7ab7deaf81 --- /dev/null +++ b/meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | LICENSE = "GPL" | ||
2 | DESCRIPTION = "clipboard manager" | ||
3 | |||
4 | PR = "r0" | ||
5 | |||
6 | SRC_URI = "svn://stage.maemo.org/svn/maemo/projects/haf/tags/clipboard-manager/;module=${PV};proto=https \ | ||
7 | file://makefile.patch;patch=1 \ | ||
8 | file://script.patch;patch=1 \ | ||
9 | file://daemonize.patch;patch=1 \ | ||
10 | " | ||
11 | |||
12 | S = "${WORKDIR}/${PV}" | ||
13 | |||
14 | inherit autotools pkgconfig | ||
15 | |||
16 | do_install_append () { | ||
17 | mv ${D}/${sysconfdir}/X11/Xsession.d/clipboard.sh ${D}/${sysconfdir}/X11/Xsession.d/70clipboard | ||
18 | chmod u+x ${D}/${sysconfdir}/X11/Xsession.d/70clipboard | ||
19 | } | ||
20 | |||
21 | pkg_postinst_clipboard-manager () { | ||
22 | #!/bin/sh -e | ||
23 | if [ x"$D" = "x" ]; then | ||
24 | { | ||
25 | if [ x$(pidof clipboard-manager) != x ]; then | ||
26 | kill -TERM $(pidof clipboard-manager) | ||
27 | fi | ||
28 | |||
29 | ${sysconfdir}/X11/Xsession.d/70clipboard | ||
30 | } > /dev/null | ||
31 | else | ||
32 | exit 1 | ||
33 | fi | ||
34 | } | ||