wok-current diff davmail/receipt @ rev 14691

python-edbus-dev: Up to 1.7.0-3
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:29 2013 +0200 (2013-06-06)
parents
children eb8067417980
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/davmail/receipt	Thu Jun 06 22:09:29 2013 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="davmail"
     1.7 +VERSION="4.0.0-2016"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-src-$VERSION.tgz"
    1.12 +WEB_SITE="http://davmail.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +DEPENDS="java-jre"
    1.16 +BUILD_DEPENDS="apache-ant java-jdk"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	export JAVA_HOME=/usr/lib/jvm/java-icedtea
    1.23 +	ant
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/share/davmail $fs/usr/share/applications \
    1.30 +		 $fs/usr/bin
    1.31 +	cp -a $src/dist/lib $fs/usr/share/davmail
    1.32 +	cp -a $src/dist/davmail.png $fs/usr/share/davmail
    1.33 +	cp -a $src/dist/davmail.jar $fs/usr/share/davmail
    1.34 +	cp -a $src/dist/davmail.sh $fs/usr/share/davmail
    1.35 +	ln -s /usr/share/davmail/davmail.sh $fs/usr/bin/davmail
    1.36 +	sed -i 's|/bin/bash|/bin/sh|' $fs/usr/share/davmail/davmail.sh
    1.37 +	cp -a $src/dist/davmail.desktop $fs/usr/share/applications
    1.38 +}