buildroot/package/psplash/psplash.mk
Mike Williams 38ca883965 psplash: move systemd service files to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-22 22:49:51 +02:00

27 lines
1 KiB
Makefile

################################################################################
#
# psplash
#
################################################################################
PSPLASH_VERSION = 14c8f7b705de944beb4de3f296506d80871e410f
PSPLASH_SITE = git://git.yoctoproject.org/psplash
PSPLASH_LICENSE = GPLv2+
PSPLASH_AUTORECONF = YES
define PSPLASH_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/psplash/psplash-start.service \
$(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
ln -sf ../../../../usr/lib/systemd/system/psplash-start.service \
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
$(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
$(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf ../../../../usr/lib/systemd/system/psplash-quit.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
endef
$(eval $(autotools-package))