wok view jabberd2/receipt @ rev 19823

Up cookutils(887), yandex-disk: up bdeps and rebuild.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 03 02:42:35 2017 +0200 (2017-03-03)
parents e4bb3613df48
children 20661c276bcf
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 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 }