summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 19:41:00 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 19:41:00 -0500
commit0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb (patch)
tree716859aae4fe2a9005a4edf3f5ad7e2a78c711d6
parent19c94365c39f1420371cf0b081c6ce154d4ae0ef (diff)
downloadpackages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.tar.gz
packages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.tar.bz2
packages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.tar.xz
packages-0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb.zip
harmony/zsh: support cross
-rw-r--r--harmony/zsh/APKBUILD5
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"