wok-next view davmail/receipt @ rev 21184
aufs-utils: inserted make headers_install
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 22 17:16:53 2019 +0100 (2019-09-22) |
parents | eb8067417980 |
children |
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 LICENSE="GPL2"
9 WEB_SITE="http://davmail.sourceforge.net/"
11 TARBALL="$PACKAGE-src-$VERSION.tgz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="apache-ant java-jdk"
16 compile_rules() {
17 export JAVA_HOME=/usr/lib/jvm/java-icedtea
18 ant
19 }
21 genpkg_rules() {
22 mkdir -p $fs/usr/share/davmail $fs/usr/share/applications \
23 $fs/usr/bin
24 cp -a $src/dist/lib $fs/usr/share/davmail
25 cp -a $src/dist/davmail.png $fs/usr/share/davmail
26 cp -a $src/dist/davmail.jar $fs/usr/share/davmail
27 cp -a $src/dist/davmail.sh $fs/usr/share/davmail
28 ln -s /usr/share/davmail/davmail.sh $fs/usr/bin/davmail
29 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/share/davmail/davmail.sh
30 cp -a $src/dist/davmail.desktop $fs/usr/share/applications
31 DEPENDS="java-jre"
32 }