|
Lines 59-64
Link Here
|
| 59 |
--with-udevrulesdir="$(get_udevdir)"/rules.d \ |
59 |
--with-udevrulesdir="$(get_udevdir)"/rules.d \ |
| 60 |
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
60 |
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
| 61 |
--with-rootlibdir="${EPREFIX}"/$(get_libdir) \ |
61 |
--with-rootlibdir="${EPREFIX}"/$(get_libdir) \ |
|
|
62 |
--with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/libexec \ |
| 62 |
--enable-smack \ |
63 |
--enable-smack \ |
| 63 |
--disable-kdbus \ |
64 |
--disable-kdbus \ |
| 64 |
--disable-lto \ |
65 |
--disable-lto \ |
|
Lines 72-84
Link Here
|
| 72 |
find "${D}" -name '*.la' -delete || die |
74 |
find "${D}" -name '*.la' -delete || die |
| 73 |
|
75 |
|
| 74 |
newinitd "${FILESDIR}"/${PN}.init ${PN} |
76 |
newinitd "${FILESDIR}"/${PN}.init ${PN} |
| 75 |
newconfd "${FILESDIR}"/${PN}.conf ${PN} |
77 |
|
|
|
78 |
sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die |
| 79 |
newconfd ${PN}.conf ${PN} |
| 76 |
} |
80 |
} |
| 77 |
|
81 |
|
| 78 |
pkg_postinst() { |
82 |
pkg_postinst() { |
| 79 |
if [ "$(rc-config list default | grep elogind)" = "" ]; then |
83 |
if [ "x$(rc-config list boot | grep elogind)" = "x" ]; then |
| 80 |
ewarn "To enable the elogind daemon, elogind must be" |
84 |
ewarn "To enable the elogind daemon, elogind must be" |
| 81 |
ewarn "added to the default runlevel:" |
85 |
ewarn "added to the boot runlevel:" |
| 82 |
ewarn "# rc-update add elogind default" |
86 |
ewarn "# rc-update add elogind boot" |
| 83 |
fi |
87 |
fi |
| 84 |
} |
88 |
} |