mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
f7aff2a3a0
Provides a stand-lone s-s-d that is extracted from dpkg of the corresponding version. * dpkg_1.16.0.2 is hostedd on sources.oe.org, since debian wipes old versions from their mirrors * Installing only s-s-d (binary) would be covered by automake rules. Documentation would be missing. Thus install all and purge non s-s-d files. Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
32 lines
980 B
BlitzBasic
32 lines
980 B
BlitzBasic
DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \
|
|
package"
|
|
LICENSE = "PD"
|
|
LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4"
|
|
# start-stop-daemon is usually shipped by dpkg
|
|
RCONFLICS_${PN} = "dpkg"
|
|
PR = "r0"
|
|
|
|
SRC_URI = "http://sources.openembedded.org/dpkg_${PV}.tar.bz2"
|
|
SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a"
|
|
SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5"
|
|
|
|
inherit autotools gettext
|
|
|
|
S = "${WORKDIR}/dpkg-${PV}"
|
|
|
|
EXTRA_OECONF = " \
|
|
--with-start-stop-daemon \
|
|
--without-bz2 \
|
|
--without-deselect \
|
|
--without-install-info \
|
|
--without-selinux \
|
|
--without-update-alternatives \
|
|
"
|
|
|
|
do_install_append () {
|
|
# remove everything that is not related to start-stop-daemon, since there
|
|
# is no explicit rule for only installing ssd
|
|
find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \;
|
|
find ${D} -depth -type d -empty -exec rmdir {} \;
|
|
}
|