wok-next view jabberd2/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
parents | 7896f0694ef6 |
children | e1c0edabdcb2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jabberd2"
4 VERSION="2.2.16"
5 CATEGORY="network"
6 SHORT_DESC="XMPP server (real-time communication)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="jabberd"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://$PACKAGE.xiaoka.com/"
12 WGET_URL="https://github.com/downloads/Jabberd2/$PACKAGE/$TARBALL"
13 CONFIG_FILES="/etc/jabberd"
14 TAGS="im instant-messaging server"
16 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
17 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
18 zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev wget
19 cppunit-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
26 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
27 ./configure --prefix=/usr \
28 --infodir=/usr/share/info \
29 --enable-sqlite \
30 --sysconfdir=/etc/jabberd \
31 --mandir=/usr/share/man $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/jabberd
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
43 }