wok-6.x annotate ejabberd/receipt @ rev 24720
updated libassuan and libassuan-dev (2.5.3 -> 2.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 08:04:34 2022 +0100 (2022-03-15) |
parents | 5ea0ce1cecc0 |
children |
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@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24295 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
pascal@2135 | 26 # Rules to configure and make the package. |
pascal@2135 | 27 compile_rules() |
pascal@2135 | 28 { |
Hans-G?nter@22174 | 29 ./autogen.sh && |
Hans-G?nter@21349 | 30 ./configure \ |
Hans-G?nter@21349 | 31 --prefix=/usr \ |
Hans-G?nter@21349 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@21349 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@21349 | 34 --sysconfdir=/etc \ |
Hans-G?nter@21349 | 35 --localstatedir=/var \ |
slaxemulator@10324 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@20872 | 37 make -j 1 && |
slaxemulator@9820 | 38 make DESTDIR=$DESTDIR install |
pascal@2135 | 39 } |
pascal@2135 | 40 |
pascal@2135 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2135 | 42 genpkg_rules() |
pascal@2135 | 43 { |
pascal@2135 | 44 mkdir -p $fs/etc/init.d |
pascal@15002 | 45 cp -a $install/* $fs |
pascal@2135 | 46 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd |
pascal@2135 | 47 } |