wok-next annotate jabberd2/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | e1c0edabdcb2 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@20473 | 1 # SliTaz package receipt v2. |
pascal@2139 | 2 |
pascal@2139 | 3 PACKAGE="jabberd2" |
pascal@13572 | 4 VERSION="2.2.16" |
pascal@2139 | 5 CATEGORY="network" |
al@20473 | 6 SHORT_DESC="XMPP server (real-time communication)" |
pascal@2139 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20473 | 9 WEB_SITE="http://jabberd2.xiaoka.com/" |
pascal@13572 | 10 |
al@20473 | 11 TARBALL="jabberd-$VERSION.tar.gz" |
al@20473 | 12 WGET_URL="https://github.com/downloads/Jabberd2/jabberd2/$TARBALL" |
al@20473 | 13 |
pascal@12435 | 14 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \ |
al@20473 | 15 zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev \ |
al@20513 | 16 cppunit-dev" |
pascal@2139 | 17 |
al@20473 | 18 compile_rules() { |
pascal@13573 | 19 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c |
al@20473 | 20 CFLAGS="${CFLAGS/-Os/-O2}" |
al@20473 | 21 ./configure \ |
al@20473 | 22 --prefix=/usr \ |
pascal@13572 | 23 --infodir=/usr/share/info \ |
pascal@13572 | 24 --enable-sqlite \ |
pascal@13572 | 25 --sysconfdir=/etc/jabberd \ |
al@20473 | 26 --mandir=/usr/share/man \ |
al@20473 | 27 $CONFIGURE_ARGS && |
pascal@2139 | 28 make && |
pascal@10561 | 29 make DESTDIR=$DESTDIR install |
pascal@2139 | 30 } |
pascal@2139 | 31 |
al@20473 | 32 genpkg_rules() { |
al@20473 | 33 copy @std |
al@20473 | 34 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl" |
al@20473 | 35 CONFIG_FILES="/etc/jabberd" |
al@20473 | 36 TAGS="im instant-messaging server" |
pascal@2139 | 37 } |