wok-next diff ejabberd/receipt @ rev 20859
Update ALSA stack (1.1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 13:35:43 2018 +0300 (2018-06-27) |
parents | 7896f0694ef6 |
children | d5aab818505e |
line diff
1.1 --- a/ejabberd/receipt Sat Aug 10 21:12:16 2013 +0000 1.2 +++ b/ejabberd/receipt Wed Jun 27 13:35:43 2018 +0300 1.3 @@ -1,39 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ejabberd" 1.8 VERSION="2.1.6" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Jabber/XMPP instant messaging server (real-time communication)." 1.11 +SHORT_DESC="Jabber/XMPP instant messaging server (real-time communication)" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.ejabberb.im/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.ejabberb.im/" 1.18 WGET_URL="http://www.process-one.net/downloads/$PACKAGE/$VERSION/$TARBALL" 1.19 -CONFIG_FILES="/etc/ejabberd" 1.20 -TAGS="im instant-messaging server" 1.21 1.22 -DEPENDS="erlang expat openssl zlib" 1.23 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 +compile_rules() { 1.29 cd $src/src 1.30 - ./configure --prefix=/usr \ 1.31 - --infodir=/usr/share/info \ 1.32 - --mandir=/usr/share/man \ 1.33 - --sysconfdir=/etc \ 1.34 - --localstatedir=/var \ 1.35 - $CONFIGURE_ARGS && 1.36 + ./configure $CONFIGURE_ARGS && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + make DESTDIR=$DESTDIR install || return 1 1.40 + 1.41 + mkdir -p $install/etc/init.d/ 1.42 + ln -s /usr/sbin/ejabberdctl $install/etc/init.d/ejabberd 1.43 } 1.44 1.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.46 -genpkg_rules() 1.47 -{ 1.48 - mkdir -p $fs/etc/init.d 1.49 - cp -a $install/* $fs 1.50 - ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd 1.51 +genpkg_rules() { 1.52 + copy @std 1.53 + DEPENDS="erlang expat openssl zlib" 1.54 + CONFIG_FILES="/etc/ejabberd" 1.55 + TAGS="im instant-messaging server" 1.56 } 1.57 -