wok view jabberd2/receipt @ rev 20682
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 17:42:10 2019 +0100 (2019-01-27) |
parents | 7896f0694ef6 |
children | 875a3e740965 |
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="https://jabberd2.org/"
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 sqlite sqlite-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 }