wok-6.x view ejabberd/receipt @ rev 21778
linld: fix strdup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 14:55:02 2019 +0200 (2019-07-11) |
parents | 3a264e189f04 |
children | 58715316ac9e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ejabberd"
4 VERSION="18.12.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.tgz"
13 WGET_URL="http://www.process-one.net/downloads/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="erlang expat openssl zlib"
16 BUILD_DEPENDS="autoconf automake cacerts erlang expat-dev openssl-dev zlib-dev"
17 CONFIG_FILES="/etc/ejabberd"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # cd $src/src
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 }