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

rp-pppoe: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 12:23:09 2009 +0000 (2009-03-26)
parents
children 4466fa74bc06
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"
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/jabberd
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
33 }