milis/talimatname/genel/e/ejabberd/talimat

32 lines
727 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Jabber server written in Erlang
# URL: http://www.ejabberd.im/
# Paketçi: milisarge
# Gerekler: yaml git rebar3 erlang sqlite
# Grup:
isim=ejabberd
surum=18.06
devir=1
kaynak=(https://github.com/processone/ejabberd/archive/$surum.tar.gz::ejabberd-$surum.tar.gz)
derle() {
if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; then
groupadd -g 203 ejabberd
useradd -g 203 -u 203 -d /var/lib/ejabberd -s /bin/bash ejabberd
fi
cd "$SRC/$isim-$surum"
./autogen.sh
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--enable-user=ejabberd
make
make install DESTDIR=$PKG
chmod 0755 $PKG/usr/sbin/ejabberdctl
}