From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/zsh/zsh.xibuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 repo/zsh/zsh.xibuild (limited to 'repo/zsh') diff --git a/repo/zsh/zsh.xibuild b/repo/zsh/zsh.xibuild new file mode 100644 index 0000000..76f93b5 --- /dev/null +++ b/repo/zsh/zsh.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="zsh" +DESC="Very advanced and programmable command interpreter (shell)" + +MAKEDEPS="make " +DEPS="sbase libcap musl ncurses " + +PKG_VER=5.8.1 +SOURCE="https://download.sourceforge.net/project/zsh/zsh/$PKG_VER/zsh-$PKG_VER.tar.xz" + +prepare () { + cd "$BUILD_ROOT/Completion" + rm -Rf AIX BSD Cygwin Darwin Debian Mandriva Redhat Solaris openSUSE +} + +build () { + cd $BUILD_ROOT + ./configure \ + --prefix=/usr \ + --enable-etcdir=/etc/zsh \ + --enable-pcre \ + --enable-cap \ + --enable-multibyte \ + --enable-function-subdirs \ + --enable-zsh-secure-free \ + --sysconfdir=/etc \ + --with-tcsetpgrp \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1