diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-25 12:12:32 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-25 12:12:32 +0200 |
| commit | a808e913c2f019d5b10b9af5efcc8eb245bc66f9 (patch) | |
| tree | d21c8696de80eeed1e124a5acdac681bc045a602 /meta-oe/recipes-graphics | |
| parent | fa1547f54bc5e4e06fc2cc314c1b0c5b785e2f33 (diff) | |
| download | meta-openembedded-a808e913c2f019d5b10b9af5efcc8eb245bc66f9.tar.gz | |
slim 1.3.2: fix build and packaging
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-graphics')
| -rw-r--r-- | meta-oe/recipes-graphics/slim/slim_1.3.2.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/slim/slim_1.3.2.bb b/meta-oe/recipes-graphics/slim/slim_1.3.2.bb index 5d8f583244..90f9939039 100644 --- a/meta-oe/recipes-graphics/slim/slim_1.3.2.bb +++ b/meta-oe/recipes-graphics/slim/slim_1.3.2.bb | |||
| @@ -3,6 +3,8 @@ HOMEPAGE="http://slim.berlios.de" | |||
| 3 | LICENSE = "GPLv2+" | 3 | LICENSE = "GPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
| 5 | 5 | ||
| 6 | PR = "r1" | ||
| 7 | |||
| 6 | DEPENDS = "virtual/libx11 libxmu libpng jpeg freetype sessreg ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 8 | DEPENDS = "virtual/libx11 libxmu libpng jpeg freetype sessreg ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
| 7 | 9 | ||
| 8 | SRC_URI = " \ | 10 | SRC_URI = " \ |
| @@ -47,12 +49,16 @@ do_install() { | |||
| 47 | install -d ${D}${sysconfdir}/pam.d/ | 49 | install -d ${D}${sysconfdir}/pam.d/ |
| 48 | install -m 0644 ${WORKDIR}/slim.pamd ${D}${sysconfdir}/pam.d/slim | 50 | install -m 0644 ${WORKDIR}/slim.pamd ${D}${sysconfdir}/pam.d/slim |
| 49 | 51 | ||
| 52 | install -d ${D}${base_libdir}/systemd/system/ | ||
| 53 | install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system/ | ||
| 54 | |||
| 50 | echo 'sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf | 55 | echo 'sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf |
| 51 | echo 'sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf | 56 | echo 'sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf |
| 52 | } | 57 | } |
| 53 | 58 | ||
| 54 | 59 | ||
| 55 | RDEPENDS_${PN} = "perl xauth freetype sessreg ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam-meta', '', d)}" | 60 | RDEPENDS_${PN} = "perl xauth freetype sessreg " |
| 61 | FILES_${PN} += "${base_libdir}/systemd/system/" | ||
| 56 | 62 | ||
| 57 | pkg_postinst_${PN} () { | 63 | pkg_postinst_${PN} () { |
| 58 | if test "x$D" != "x"; then | 64 | if test "x$D" != "x"; then |
