wok view davmail/receipt @ rev 14614
Up: php to 5.4.13.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 06:40:14 2013 +0000 (2013-06-01) |
parents | |
children | eb8067417980 |
line source
1 # SliTaz package receipt.
3 PACKAGE="davmail"
4 VERSION="4.0.0-2016"
5 CATEGORY="network"
6 SHORT_DESC="POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-src-$VERSION.tgz"
9 WEB_SITE="http://davmail.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="java-jre"
13 BUILD_DEPENDS="apache-ant java-jdk"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 export JAVA_HOME=/usr/lib/jvm/java-icedtea
20 ant
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/davmail $fs/usr/share/applications \
27 $fs/usr/bin
28 cp -a $src/dist/lib $fs/usr/share/davmail
29 cp -a $src/dist/davmail.png $fs/usr/share/davmail
30 cp -a $src/dist/davmail.jar $fs/usr/share/davmail
31 cp -a $src/dist/davmail.sh $fs/usr/share/davmail
32 ln -s /usr/share/davmail/davmail.sh $fs/usr/bin/davmail
33 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/share/davmail/davmail.sh
34 cp -a $src/dist/davmail.desktop $fs/usr/share/applications
35 }