wok-stable annotate ejabberd/receipt @ rev 3767
php: add ftp/zip/calendar/exif support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 29 17:25:48 2009 +0200 (2009-07-29) |
parents | |
children | 31c985a0bd3d |
rev | line source |
---|---|
pascal@2135 | 1 # SliTaz package receipt. |
pascal@2135 | 2 |
pascal@2135 | 3 PACKAGE="ejabberd" |
pascal@2135 | 4 VERSION="2.0.3" |
pascal@2135 | 5 CATEGORY="network" |
pascal@2135 | 6 SHORT_DESC="XMPP server (real-time communication)." |
pascal@2135 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2135 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2135 | 9 WEB_SITE="http://www.$PACKAGE.im/" |
pascal@2135 | 10 WGET_URL="http://freshmeat.net/redir/$PACKAGE/56344/url_tgz/$TARBALL" |
pascal@2135 | 11 DEPENDS="erlang expat openssl zlib" |
pascal@2135 | 12 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev" |
pascal@2135 | 13 CONFIG_FILES="/etc/ejabberd" |
pascal@2135 | 14 |
pascal@2135 | 15 # Rules to configure and make the package. |
pascal@2135 | 16 compile_rules() |
pascal@2135 | 17 { |
pascal@2135 | 18 cd $src/src |
pascal@2135 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2135 | 20 --sysconfdir=/etc --localstatedir=/var \ |
pascal@2135 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2135 | 22 make && |
pascal@2135 | 23 make DESTDIR=$PWD/../_pkg install |
pascal@2135 | 24 } |
pascal@2135 | 25 |
pascal@2135 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2135 | 27 genpkg_rules() |
pascal@2135 | 28 { |
pascal@2135 | 29 mkdir -p $fs/etc/init.d |
pascal@2135 | 30 cp -a $_pkg/* $fs |
pascal@2135 | 31 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd |
pascal@2135 | 32 } |
pascal@2135 | 33 |