85c0fb88184960386c361625c5125b0005bb5dbe
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / psplash / psplash.mk
1 ################################################################################
2 #
3 # psplash
4 #
5 ################################################################################
6
7 PSPLASH_VERSION = 14c8f7b705de944beb4de3f296506d80871e410f
8 PSPLASH_SITE = git://git.yoctoproject.org/psplash
9 PSPLASH_LICENSE = GPLv2+
10 PSPLASH_AUTORECONF = YES
11
12 define PSPLASH_INSTALL_INIT_SYSTEMD
13         $(INSTALL) -D -m 644 package/psplash/psplash-start.service \
14                 $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
15         $(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
16         ln -sf  ../../../../usr/lib/systemd/system/psplash-start.service \
17                  $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
18
19         $(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
20                 $(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service
21         $(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
22         ln -sf  ../../../../usr/lib/systemd/system/psplash-quit.service \
23                  $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
24 endef
25
26 $(eval $(autotools-package))