wok-6.x view jabberd2/receipt @ rev 12674
murrine: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:30:13 2012 +0200 (2012-05-01) |
parents | 55aa8dd90011 |
children | 90f1623aac5e |
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 \
14 zlib-dev db-dev openldap-dev postgresql mysql sqlite expat-dev"
15 CONFIG_FILES="/etc/jabberd"
16 TAGS="im instant-messaging server"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/jabberd
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
36 }