wok view jabberd2/receipt @ rev 23989

syslinux: iso2exe/init should keep keyboard config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 05 09:55:13 2020 +0000 (2020-12-05)
parents 5f934d58d0b7
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="jabberd2"
4 VERSION="2.7.0"
5 CATEGORY="network"
6 TAGS="im instant-messaging server"
7 SHORT_DESC="XMPP server (real-time communication)."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://jabberd2.org/"
12 SOURCE="jabberd"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$SOURCE-$VERSION/$TARBALL"
16 DEPENDS="expat gsasl libidn libcomerr3 libkrb5 openssl perl udns zlib"
17 BUILD_DEPENDS="cppunit-dev db-dev expat expat-dev gsasl gsasl-dev \
18 libidn-dev mysql openldap-dev openssl-dev postgresql \
19 sqlite sqlite-dev udns udns-dev zlib-dev libgcrypt-dev"
20 CONFIG_FILES="/etc/jabberd"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # Removed for version 2.7.0:
26 # sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
27 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --enable-sqlite \
33 --sysconfdir=/etc/jabberd \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/jabberd
45 cp -a $install/etc $fs
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
48 }