wok view jabberd2/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
parents | 8d3f3ded1725 |
children | 36ce75e50e26 |
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 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/jabberd
32 cp -a $_pkg/etc $fs
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
35 }