wok view davmail/receipt @ rev 24816
updated libnotify-gtk3 and libnotify-gtk3-dev (0.7.6 -> 0.7.9)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 07:12:17 2022 +0100 (2022-03-23) |
parents | eb8067417980 |
children | 7dd01dedad38 |
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 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed "/$PACKAGE-srconly/!d;s|.*$PACKAGE-srconly-\\(.*\\).tgz.*\".*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 export JAVA_HOME=/usr/lib/jvm/java-icedtea
28 ant
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/davmail $fs/usr/share/applications \
35 $fs/usr/bin
36 cp -a $src/dist/lib $fs/usr/share/davmail
37 cp -a $src/dist/davmail.png $fs/usr/share/davmail
38 cp -a $src/dist/davmail.jar $fs/usr/share/davmail
39 cp -a $src/dist/davmail.sh $fs/usr/share/davmail
40 ln -s /usr/share/davmail/davmail.sh $fs/usr/bin/davmail
41 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/share/davmail/davmail.sh
42 cp -a $src/dist/davmail.desktop $fs/usr/share/applications
43 }