milis/talimatname/genel/e/ejabberd/talimat

32 lines
727 B
Plaintext
Raw Normal View History

2018-09-01 16:18:19 +02:00
# Tanım: Jabber server written in Erlang
# URL: http://www.ejabberd.im/
# Paketçi: milisarge
2018-09-01 16:24:07 +02:00
# Gerekler: yaml git rebar3 erlang sqlite
2018-09-01 16:18:19 +02:00
# Grup:
isim=ejabberd
surum=18.06
devir=1
kaynak=(https://github.com/processone/ejabberd/archive/$surum.tar.gz::ejabberd-$surum.tar.gz)
derle() {
2018-09-01 16:27:39 +02:00
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
2018-09-01 16:18:19 +02:00
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
}