zsh.paketlendi
This commit is contained in:
parent
d0eb512a77
commit
995386ef32
1 changed files with 27 additions and 15 deletions
|
@ -1,29 +1,41 @@
|
||||||
# Tanım: UNIX icin programlanabilir bir komut arayuzu (shell)
|
# Tanım: UNIX için programlanabilir zsh komut arayüzü
|
||||||
# URL: http://www.zsh.org
|
# URL: http://www.zsh.org
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler: pcre
|
# Gerekler: pcre
|
||||||
|
# Grup: sistem
|
||||||
|
|
||||||
isim=zsh
|
isim=zsh
|
||||||
surum=5.3.1
|
surum=5.4.2
|
||||||
devir=1
|
devir=1
|
||||||
kaynak=(http://www.zsh.org/pub/$isim-$surum.tar.xz)
|
kaynak=(http://www.zsh.org/pub/$isim-$surum.tar.gz)
|
||||||
|
|
||||||
derle(){
|
derle(){
|
||||||
cd $isim-$surum
|
cd $isim-$surum
|
||||||
./configure --prefix=/usr \
|
./configure \
|
||||||
--bindir=/bin \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc/zsh \
|
--enable-etcdir=/etc/zsh \
|
||||||
--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
|
make
|
||||||
makeinfo Doc/zsh.texi --html -o Doc/html
|
|
||||||
makeinfo Doc/zsh.texi --html --no-split --no-headers -o Doc/zsh.html
|
# fix a bug in recent glibc versions (2.16)
|
||||||
makeinfo Doc/zsh.texi --plaintext -o Doc/zsh.txt
|
sed -e '/#include "attr.mdh"/d;/#include "attr.pro/d' \
|
||||||
make DESTDIR=$PKG install
|
-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
|
||||||
|
|
||||||
make infodir=$PKG/usr/share/info install.info
|
|
||||||
install -v -dm755 $PKG/usr/share/doc/zsh-$surum/html
|
|
||||||
install -v -m644 Doc/html/* $PKG/usr/share/doc/zsh-$surum/html
|
|
||||||
install -v -m644 Doc/zsh.{html,txt} $PKG/usr/share/doc/zsh-$surum
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue