wok-current view davmail/receipt @ rev 17982

pavucontrol: remove patch
author Richard Dunbar <mojo@slitaz.org>
date Sun Apr 19 16:50:55 2015 -0400 (2015-04-19)
parents 4aed2b24febc
children 4bae0fb81a17
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 TARBALL="$PACKAGE-src-$VERSION.tgz"
10 WEB_SITE="http://davmail.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="java-jre"
14 BUILD_DEPENDS="apache-ant java-jdk"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export JAVA_HOME=/usr/lib/jvm/java-icedtea
21 ant
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/davmail $fs/usr/share/applications \
28 $fs/usr/bin
29 cp -a $src/dist/lib $fs/usr/share/davmail
30 cp -a $src/dist/davmail.png $fs/usr/share/davmail
31 cp -a $src/dist/davmail.jar $fs/usr/share/davmail
32 cp -a $src/dist/davmail.sh $fs/usr/share/davmail
33 ln -s /usr/share/davmail/davmail.sh $fs/usr/bin/davmail
34 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/share/davmail/davmail.sh
35 cp -a $src/dist/davmail.desktop $fs/usr/share/applications
36 }