wok-6.x view jabberd2/receipt @ rev 13573

jabberd2: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 04 18:59:49 2012 +0100 (2012-11-04)
parents 90f1623aac5e
children e4bb3613df48
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.gz"
10 WEB_SITE="http://$PACKAGE.xiaoka.com/"
11 WGET_URL="https://github.com/downloads/Jabberd2/$PACKAGE/$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 wget
18 cppunit-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
25 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
26 ./configure --prefix=/usr \
27 --infodir=/usr/share/info \
28 --enable-sqlite \
29 --sysconfdir=/etc/jabberd \
30 --mandir=/usr/share/man $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/jabberd
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
42 }