wok-next annotate davmail/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | eb8067417980 |
children |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="davmail" |
pascal@13591 | 4 VERSION="4.0.0-2016" |
pascal@13591 | 5 CATEGORY="network" |
pascal@13591 | 6 SHORT_DESC="POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway" |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://davmail.sourceforge.net/" |
al@21020 | 10 |
pascal@13591 | 11 TARBALL="$PACKAGE-src-$VERSION.tgz" |
pascal@13591 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13591 | 13 |
pascal@13591 | 14 BUILD_DEPENDS="apache-ant java-jdk" |
pascal@13591 | 15 |
al@21020 | 16 compile_rules() { |
pascal@13591 | 17 export JAVA_HOME=/usr/lib/jvm/java-icedtea |
pascal@13591 | 18 ant |
pascal@13591 | 19 } |
pascal@13591 | 20 |
al@21020 | 21 genpkg_rules() { |
pascal@13591 | 22 mkdir -p $fs/usr/share/davmail $fs/usr/share/applications \ |
pascal@13591 | 23 $fs/usr/bin |
pascal@13591 | 24 cp -a $src/dist/lib $fs/usr/share/davmail |
pascal@13591 | 25 cp -a $src/dist/davmail.png $fs/usr/share/davmail |
pascal@13591 | 26 cp -a $src/dist/davmail.jar $fs/usr/share/davmail |
pascal@13591 | 27 cp -a $src/dist/davmail.sh $fs/usr/share/davmail |
pascal@13591 | 28 ln -s /usr/share/davmail/davmail.sh $fs/usr/bin/davmail |
pascal@13591 | 29 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/share/davmail/davmail.sh |
pascal@13591 | 30 cp -a $src/dist/davmail.desktop $fs/usr/share/applications |
al@21020 | 31 DEPENDS="java-jre" |
pascal@13591 | 32 } |