wok annotate ejabberd/receipt @ rev 22686

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