28 lines
764 B
Bash
28 lines
764 B
Bash
# Template file for 'davmail'
|
|
pkgname=davmail
|
|
version=5.5.1
|
|
revision=1
|
|
_commit=3299
|
|
archs="i686 x86_64"
|
|
wrksrc=davmail-src-${version}-${_commit}
|
|
hostmakedepends="openjdk8 apache-ant"
|
|
short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
|
|
maintainer="Anachron <gith@cron.world>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://davmail.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/davmail/davmail-src-${version}-${_commit}.tgz"
|
|
checksum=63e14eeda3fed2a1a5c55f864a8832f8842d597e797ca1e8874c9b66b811f508
|
|
|
|
do_build() {
|
|
. /etc/profile.d/10_openjdk8.sh
|
|
. /etc/profile.d/apache-ant.sh
|
|
|
|
ant jar
|
|
}
|
|
|
|
do_install() {
|
|
vinstall dist/davmail.jar 644 usr/share/davmail
|
|
vmkdir usr/share/davmail/lib
|
|
vcopy "lib/*" usr/share/davmail/lib
|
|
vbin src/bin/davmail
|
|
}
|