diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-25 19:41:00 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-25 19:41:00 -0500 |
commit | 0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb (patch) | |
tree | 716859aae4fe2a9005a4edf3f5ad7e2a78c711d6 /harmony | |
parent | 19c94365c39f1420371cf0b081c6ce154d4ae0ef (diff) | |
download | packages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.tar.gz packages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.tar.bz2 packages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.tar.xz packages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.zip |
harmony/zsh: support cross
Diffstat (limited to 'harmony')
-rw-r--r-- | harmony/zsh/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/harmony/zsh/APKBUILD b/harmony/zsh/APKBUILD index 0405b6ba6..3672a0445 100644 --- a/harmony/zsh/APKBUILD +++ b/harmony/zsh/APKBUILD @@ -9,12 +9,13 @@ url="http://www.zsh.org/" arch="all" license="BSD" depends="debianutils" # add-shell -makedepends="ncurses-dev pcre-dev" +makedepends_host="ncurses-dev pcre-dev" install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall" source="http://www.zsh.org/pub/$pkgname-$pkgver.tar.gz zprofile " -subpackages="$pkgname-doc $pkgname-calendar::noarch $pkgname-vcs::noarch $pkgname-zftp" +subpackages="$pkgname-doc $pkgname-calendar::noarch $pkgname-vcs::noarch" +[ "$CBUILD" != "$CHOST" ] || subpackages="$subpackages $pkgname-zftp" builddir="$srcdir/$pkgname-$pkgver" _libdir="usr/lib/zsh/$pkgver" |