wok-current view ejabberd/receipt @ rev 23425

fusecloop: arch fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 01 11:42:26 2020 +0200 (2020-04-01)
parents b9fbde67970f
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="ejabberd"
4 VERSION="19.09.1"
5 CATEGORY="network"
6 TAGS="im instant-messaging server"
7 SHORT_DESC="Jabber/XMPP instant messaging server (real-time communication)."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.ejabberd.im/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/processone/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="erlang expat openssl zlib"
16 BUILD_DEPENDS="autoconf automake cacerts erlang expat-dev openssl-dev zlib-dev"
18 CONFIG_FILES="/etc/ejabberd"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh &&
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/etc/init.d
39 cp -a $install/* $fs
40 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
41 }