wok-current view jabberd2/receipt @ rev 13572
Up jabberd2 (2.2.16)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 04 18:18:29 2012 +0100 (2012-11-04) |
parents | 36ce75e50e26 |
children | 4dc5578e0398 |
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.bz2"
10 WEB_SITE="http://$PACKAGE.xiaoka.com/"
11 WGET_URL="http://ftp.xiaoka.com/$PACKAGE/releases/$TARBALL"
12 CONFIG_FILES="/etc/jabberd"
13 TAGS="im instant-messaging server"
15 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3"
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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
24 ./configure --prefix=/usr \
25 --infodir=/usr/share/info \
26 --enable-sqlite \
27 --sysconfdir=/etc/jabberd \
28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/jabberd
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
40 }