wok view ejabberd/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents 5ea0ce1cecc0
children
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*}/tags 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 }