wok-next view jabberd2/receipt @ rev 13629
Up: slitaz-tools (5.1) - Bunch of new stuff and fixes from the contributors community
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Nov 14 21:48:16 2012 +0100 (2012-11-14) |
parents | 4dc5578e0398 |
children | 7896f0694ef6 |
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 SOURCE="jabberd"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.xiaoka.com/"
11 WGET_URL="https://github.com/downloads/Jabberd2/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/jabberd"
13 TAGS="im instant-messaging server"
15 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
16 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
17 zlib-dev db-dev openldap-dev postgresql mysql sqlite sqlite-dev expat-dev wget
18 cppunit-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
25 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
26 ./configure --prefix=/usr \
27 --infodir=/usr/share/info \
28 --enable-sqlite \
29 --sysconfdir=/etc/jabberd \
30 --mandir=/usr/share/man $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/jabberd
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
42 }