wok-next annotate ejabberd/receipt @ rev 20905
Update packages from ISO and LFS backages (all but toolchain)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 07 00:30:45 2018 +0300 (2018-08-07) |
parents | 7896f0694ef6 |
children | d5aab818505e |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
pascal@2135 | 2 |
pascal@2135 | 3 PACKAGE="ejabberd" |
slaxemulator@9817 | 4 VERSION="2.1.6" |
pascal@2135 | 5 CATEGORY="network" |
al@20534 | 6 SHORT_DESC="Jabber/XMPP instant messaging server (real-time communication)" |
pascal@2135 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20534 | 9 WEB_SITE="http://www.ejabberb.im/" |
al@20534 | 10 |
pascal@2135 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9817 | 12 WGET_URL="http://www.process-one.net/downloads/$PACKAGE/$VERSION/$TARBALL" |
slaxemulator@10324 | 13 |
pascal@2135 | 14 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev" |
pascal@2135 | 15 |
al@20534 | 16 compile_rules() { |
pascal@2135 | 17 cd $src/src |
al@20534 | 18 ./configure $CONFIGURE_ARGS && |
pascal@2135 | 19 make && |
al@20534 | 20 make DESTDIR=$DESTDIR install || return 1 |
al@20534 | 21 |
al@20534 | 22 mkdir -p $install/etc/init.d/ |
al@20534 | 23 ln -s /usr/sbin/ejabberdctl $install/etc/init.d/ejabberd |
pascal@2135 | 24 } |
pascal@2135 | 25 |
al@20534 | 26 genpkg_rules() { |
al@20534 | 27 copy @std |
al@20534 | 28 DEPENDS="erlang expat openssl zlib" |
al@20534 | 29 CONFIG_FILES="/etc/ejabberd" |
al@20534 | 30 TAGS="im instant-messaging server" |
pascal@2135 | 31 } |