43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Tanım: UNIX için programlanabilir zsh komut arayüzü
|
||
# URL: http://www.zsh.org
|
||
# Paketçi: milisarge
|
||
# Gerekler: pcre
|
||
# Grup: sistem
|
||
|
||
isim=zsh
|
||
surum=5.4.2
|
||
devir=1
|
||
kaynak=(http://www.zsh.org/pub/$isim-$surum.tar.gz)
|
||
|
||
derle(){
|
||
cd $isim-$surum
|
||
./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
|
||
make
|
||
|
||
# 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
|
||
|
||
}
|
||
|
||
|
||
|