X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fzsh%2Fzsh.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fzsh%2Fzsh.mk;h=ffc567dc642f6af9cf3efc8af7ddc6c68d003b5f;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/zsh/zsh.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/zsh/zsh.mk new file mode 100644 index 0000000..ffc567d --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/zsh/zsh.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# zsh +# +################################################################################ + +ZSH_VERSION = 5.0.7 +ZSH_SITE = http://www.zsh.org/pub +ZSH_DEPENDENCIES = ncurses +ZSH_CONF_OPTS = --bindir=/bin +ZSH_LICENSE = MIT-like +ZSH_LICENSE_FILES = LICENCE + +# 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 + +$(eval $(autotools-package))