package/zic: install header
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 3 Mar 2014 22:10:23 +0000 (23:10 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Mar 2014 22:38:40 +0000 (23:38 +0100)
The incoming host-tzdump package requires the tzfile header,
so we isntall it.

[Thomas: remove mkdir -p, unneeded because of the use of install -D,
and change install to $(INSTALL), like we do in all other packages.]

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
[yann.morin.1998@free.fr: split zic header-install to its own cset]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/zic/zic.mk

index c9b6c7bcfb9a8ffb6c0b4f58fcf14bf528e1d995..65605c586f4aa346d2d423cb5d311f6d0f87fe43 100644 (file)
@@ -20,8 +20,8 @@ define HOST_ZIC_BUILD_CMDS
 endef
 
 define HOST_ZIC_INSTALL_CMDS
-       mkdir -p $(HOST_DIR)/usr/sbin
-       install -D -m 755 $(@D)/zic $(HOST_DIR)/usr/sbin/zic
+       $(INSTALL) -D -m 755 $(@D)/zic $(HOST_DIR)/usr/sbin/zic
+       $(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/usr/include/tzfile.h
 endef
 
 $(eval $(host-generic-package))