2013-10-01 11:59:31 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# zsh
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-12-03 13:57:10 +01:00
|
|
|
ZSH_VERSION = 5.2
|
2014-10-08 15:19:46 +02:00
|
|
|
ZSH_SITE = http://www.zsh.org/pub
|
2015-10-02 18:47:27 +02:00
|
|
|
ZSH_SOURCE = zsh-$(ZSH_VERSION).tar.xz
|
2014-10-08 15:19:46 +02:00
|
|
|
ZSH_DEPENDENCIES = ncurses
|
|
|
|
ZSH_CONF_OPTS = --bindir=/bin
|
2013-10-01 11:59:31 +02:00
|
|
|
ZSH_LICENSE = MIT-like
|
|
|
|
ZSH_LICENSE_FILES = LICENCE
|
2014-10-08 15:19:46 +02:00
|
|
|
|
2016-02-21 10:50:10 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GDBM),y)
|
|
|
|
ZSH_CONF_OPTS += --enable-gdbm
|
|
|
|
ZSH_DEPENDENCIES += gdbm
|
|
|
|
else
|
|
|
|
ZSH_CONF_OPTS += --disable-gdbm
|
|
|
|
endif
|
|
|
|
|
2014-10-08 15:19:46 +02:00
|
|
|
# Remove versioned zsh-x.y.z binary taking up space
|
|
|
|
define ZSH_TARGET_INSTALL_FIXUPS
|
|
|
|
rm -f $(TARGET_DIR)/bin/zsh-$(ZSH_VERSION)
|
|
|
|
endef
|
|
|
|
ZSH_POST_INSTALL_TARGET_HOOKS += ZSH_TARGET_INSTALL_FIXUPS
|
2013-10-01 11:59:31 +02:00
|
|
|
|
|
|
|
$(eval $(autotools-package))
|