@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := zsh
PKG_NAME := zsh
PKG_VERSION := 5.6.2
PKG_VERSION := 5.6.2
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @SF/zsh
PKG_SOURCE_URL := @SF/zsh
@ -47,8 +47,8 @@ define Build/Configure
$( call Build/Configure/Default, \
$( call Build/Configure/Default, \
--disable-etcdir \
--disable-etcdir \
--disable-gdbm \
--disable-gdbm \
--en able-dynamic \
--enable-libc-musl \
--dis able-dynamic \
$( if $( CONFIG_USE_MUSL) , --enable-libc-musl) \
--enable-pcre \
--enable-pcre \
--enable-cap \
--enable-cap \
--enable-multibyte \
--enable-multibyte \
@ -83,6 +83,9 @@ define Build/Configure
$( MAKE) -C $( PKG_BUILD_DIR) DESTDIR = " $( PKG_INSTALL_DIR) " prep
$( MAKE) -C $( PKG_BUILD_DIR) DESTDIR = " $( PKG_INSTALL_DIR) " prep
e n d e f
e n d e f
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections -flto
d e f i n e P a c k a g e / z s h / p o s t i n s t
d e f i n e P a c k a g e / z s h / p o s t i n s t
#!/bin/sh
#!/bin/sh
g r e p z s h $$ { I P K G _ I N S T R O O T } / e t c / s h e l l s | | \
g r e p z s h $$ { I P K G _ I N S T R O O T } / e t c / s h e l l s | | \
@ -97,11 +100,9 @@ endef
d e f i n e P a c k a g e / z s h / i n s t a l l
d e f i n e P a c k a g e / z s h / i n s t a l l
$( INSTALL_DIR) $( 1) /bin
$( INSTALL_DIR) $( 1) /bin
$( INSTALL_DIR) $( 1) /$( CONFIGURE_PREFIX) /bin
$( INSTALL_DIR) $( 1) /$( CONFIGURE_PREFIX) /bin
$( INSTALL_DIR) $( 1) /$( CONFIGURE_PREFIX) /lib/zsh/$( PKG_VERSION)
$( INSTALL_DIR) $( 1) /$( CONFIGURE_PREFIX) /share/zsh/$( PKG_VERSION)
$( INSTALL_DIR) $( 1) /$( CONFIGURE_PREFIX) /share/zsh/$( PKG_VERSION)
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /$( CONFIGURE_PREFIX) /bin/zsh $( 1) /$( CONFIGURE_PREFIX) /bin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /$( CONFIGURE_PREFIX) /bin/zsh $( 1) /$( CONFIGURE_PREFIX) /bin/
$( CP) $( PKG_INSTALL_DIR) /$( CONFIGURE_PREFIX) /lib/zsh/$( PKG_VERSION) /* $( 1) /$( CONFIGURE_PREFIX) /lib/zsh/$( PKG_VERSION) /
$( CP) $( PKG_INSTALL_DIR) /$( CONFIGURE_PREFIX) /share/zsh/$( PKG_VERSION) /* $( 1) /$( CONFIGURE_PREFIX) /share/zsh/$( PKG_VERSION) /
$( CP) $( PKG_INSTALL_DIR) /$( CONFIGURE_PREFIX) /share/zsh/$( PKG_VERSION) /* $( 1) /$( CONFIGURE_PREFIX) /share/zsh/$( PKG_VERSION) /
e n d e f
e n d e f