# 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 }