wok view ejabberd/receipt @ rev 24226

updated perl-io-tty (1.14 -> 1.16)
author Hans-G?nter Theisgen
date Fri Dec 31 17:52:39 2021 +0100 (2021-12-31)
parents 58715316ac9e
children 9bbac86a37f7
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 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh &&
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --sysconfdir=/etc \
35 --localstatedir=/var \
36 $CONFIGURE_ARGS &&
37 make -j 1 &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/etc/init.d
45 cp -a $install/* $fs
46 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
47 }