2017-11-13 22:52:12 +01:00
|
|
|
|
# Tanım: UNIX için programlanabilir zsh komut arayüzü
|
2017-01-30 02:42:26 +01:00
|
|
|
|
# URL: http://www.zsh.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: pcre
|
2017-11-13 22:52:12 +01:00
|
|
|
|
# Grup: sistem
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=zsh
|
2017-11-13 22:52:12 +01:00
|
|
|
|
surum=5.4.2
|
2017-10-28 14:10:23 +02:00
|
|
|
|
devir=1
|
2017-11-13 22:52:12 +01:00
|
|
|
|
kaynak=(http://www.zsh.org/pub/$isim-$surum.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle(){
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
2017-11-13 22:52:12 +01:00
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--enable-etcdir=/etc/zsh \
|
|
|
|
|
--enable-zshrc=/etc/zsh/zshrc \
|
|
|
|
|
--enable-zlogin=/etc/zsh/zshlogin \
|
|
|
|
|
--enable-zshenv=/etc/zsh/zshenv \
|
|
|
|
|
--enable-fndir=/usr/share/zsh/$version/functions \
|
|
|
|
|
--enable-site-fndir=/usr/share/zsh/site-functions \
|
|
|
|
|
--enable-maildir-support \
|
|
|
|
|
--enable-function-subdirs \
|
|
|
|
|
--enable-pcre \
|
|
|
|
|
--enable-restricted-r \
|
|
|
|
|
--enable-cap
|
2016-02-24 01:27:23 +01:00
|
|
|
|
make
|
2017-11-13 22:52:12 +01:00
|
|
|
|
|
|
|
|
|
# fix a bug in recent glibc versions (2.16)
|
|
|
|
|
sed -e '/#include "attr.mdh"/d;/#include "attr.pro/d' \
|
|
|
|
|
-e 's|\(#include <sys/xattr.h>\)|\1\n#include "attr.mdh"\n#include "attr.pro"|g' \
|
|
|
|
|
-i Src/Modules/attr.c
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
install -d $PKG/bin
|
|
|
|
|
ln -s /usr/bin/zsh $PKG/bin
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|