summaryrefslogtreecommitdiff
path: root/package/tzdata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/tzdata/Makefile')
-rw-r--r--package/tzdata/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/package/tzdata/Makefile b/package/tzdata/Makefile
index 7bc3f5b33..dc038027f 100644
--- a/package/tzdata/Makefile
+++ b/package/tzdata/Makefile
@@ -25,7 +25,7 @@ PKGSD_DATE:= famous date utility
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,TZDATA,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,TZDATA,tzdata,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ZDUMP,zdump,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ZDUMP},${PKG_SECTION}))
$(eval $(call PKG_template,ZIC,zic,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ZIC},${PKG_SECTION}))
$(eval $(call PKG_template,DATE,date,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DATE},${PKG_SECTION}))
@@ -38,15 +38,9 @@ XAKE_FLAGS+= TOPDIR="${WRKINST}" TZDIR="${WRKINST}/usr/share/zoneinfo" cc="${TA
ALL_TARGET:= ALL
INSTALL_TARGET:= INSTALL
-post-install:
+tzdata-install:
$(INSTALL_DIR) $(IDIR_TZDATA)/usr/share $(IDIR_TZDATA)/etc
$(CP) $(WRKINST)/usr/share/zoneinfo $(IDIR_TZDATA)/usr/share
- ${INSTALL_DIR} ${IDIR_ZDUMP}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/etc/zdump ${IDIR_ZDUMP}/usr/sbin/
- ${INSTALL_DIR} ${IDIR_ZIC}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/etc/zic ${IDIR_ZIC}/usr/sbin/
- ${INSTALL_DIR} ${IDIR_DATE}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/bin/date ${IDIR_DATE}/usr/bin/
tz=; cd $(IDIR_TZDATA)/usr/share/zoneinfo || exit 1; \
for f in UTC ${ADK_RUNTIME_TIMEZONE}; do \
test -s "$$f" || continue; \
@@ -59,4 +53,16 @@ post-install:
$(IDIR_TZDATA)/etc/localtime; \
fi
+zdump-install:
+ ${INSTALL_DIR} ${IDIR_ZDUMP}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/etc/zdump ${IDIR_ZDUMP}/usr/sbin/
+
+zic-install:
+ ${INSTALL_DIR} ${IDIR_ZIC}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/etc/zic ${IDIR_ZIC}/usr/sbin/
+
+date-install:
+ ${INSTALL_DIR} ${IDIR_DATE}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/bin/date ${IDIR_DATE}/usr/bin/
+
include ${TOPDIR}/mk/pkg-bottom.mk