wok-stable view jabberd2/receipt @ rev 10089

grep: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 07:13:30 2011 +0000 (2011-05-20)
parents 4466fa74bc06
children 55aa8dd90011
line source
1 # SliTaz package receipt.
3 PACKAGE="jabberd2"
4 VERSION="2.2.5"
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.bz2"
10 WEB_SITE="http://$PACKAGE.xiaoka.com/"
11 WGET_URL="http://ftp.xiaoka.com/$PACKAGE/releases/$TARBALL"
12 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3"
13 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev zlib-dev db-dev openldap-dev postgresql mysql sqlite"
14 CONFIG_FILES="/etc/jabberd"
15 TAGS="im instant-messaging server"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/jabberd
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
34 }