wok-next view claws-mail/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 9e01bc6321ea |
children | 191c68e928af |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="claws-mail"
4 VERSION="3.9.3"
5 CATEGORY="network"
6 SHORT_DESC="The user-firendly, lightweight and fast email client"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.claws-mail.org/index.php"
11 WGET_URL="$SF_MIRROR/sylpheed-claws/$TARBALL"
13 BUILD_DEPENDS="libetpan-dev curl-dev gpgme-dev glib-dev libgpg-error-dev \
14 enchant libidn-dev db-dev expat-dev cyrus-sasl-dev xcb-util-dev gtk+-dev \
15 pkg-config libassuan libassuan-dev xorg-dev gnutls-dev libwebkit-dev curl-dev xorg-libXinerama-dev \
16 xorg-libXrandr-dev xorg-libXcursor-dev xorg-libXcomposite-dev \
17 xorg-libXdamage-dev libxslt-dev xorg-libXt-dev util-linux-uuid-dev \
18 python-dev pygtk-dev libarchive-dev attr-dev acl-dev liblzma-dev poppler-dev lcms-dev \
19 ghostscript-dev libgnome-keyring-dev dbus-dev"
20 SPLIT="claws-mail-acpinotifier claws-mail-addresskeeper claws-mail-archive \
21 claws-mail-attachwarner claws-mail-attremover claws-mail-bsfilter \
22 claws-mail-clamd claws-mail-dev claws-mail-fancy claws-mail-fetchinfo \
23 claws-mail-mailmbox claws-mail-newmail claws-mail-notification \
24 claws-mail-pdfviewer claws-mail-plugins claws-mail-python claws-mail-rssyl-dev \
25 claws-mail-rssyl claws-mail-spam_report claws-mail-tnefparse \
26 claws-mail-vcalendar"
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --disable-ldap \
33 --disable-jpilot \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 case $PACKAGE in
42 claws-mail)
43 TAGS="email client"
44 DEPENDS="libetpan libdb libsasl libcurl gpgme enchant dbus \
45 dbus-glib expat libgnutls gtk+ libgcrypt \
46 startup-notification xorg-libICE xorg-libSM \
47 xorg-libX11 xorg-libXau xorg-libXcomposite \
48 xorg-libXcursor xorg-libXdmcp xorg-libXext \
49 xorg-libXfixes xorg-libXinerama xorg-libXrandr \
50 xorg-libXrender xorg-libXdamage gcc-lib-base libtasn1"
51 mkdir -p $fs/usr/share \
52 $fs/usr/lib/$PACKAGE/plugins
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/usr/share/icons $fs/usr/share
55 ;;
56 claws-mail-acpinotifier)
57 CAT="network|Enables mail notification via LEDs on some laptops (Acer, ASUS, Fujitsu, IBM). "
58 DEPENDS="claws-mail"
59 mkdir -p $fs/usr/lib/claws-mail/plugins
60 cp -a $install/usr/lib/claws-mail/plugins/acpi_notifier.so \
61 $fs/usr/lib/claws-mail/plugins
62 ;;
63 claws-mail-addresskeeper)
64 CAT="network|Keeps all recipient addresses in an addressbook folder. "
65 DEPENDS="claws-mail"
66 mkdir -p $fs/usr/lib/claws-mail/plugins
67 cp -a $install/usr/lib/claws-mail/plugins/address_keeper.so \
68 $fs/usr/lib/claws-mail/plugins
69 ;;
70 claws-mail-archive)
71 CAT="network|claws-mail archiving features"
72 DEPENDS="claws-mail libarchive acl liblzma bzlib"
73 mkdir -p $fs/usr/lib/claws-mail/plugins \
74 $fs/usr/share/locale
75 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
76 $fs/usr/lib/claws-mail/plugins
77 ;;
78 claws-mail-attachwarner)
79 CAT="network|Warn about missing attachment"
80 DEPENDS="claws-mail"
81 mkdir -p $fs/usr/lib/claws-mail/plugins
82 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
83 $fs/usr/lib/claws-mail/plugins
84 ;;
85 claws-mail-attremover)
86 CAT="network|claws-mail plugin - Remove attachments from emails."
87 DEPENDS="claws-mail xorg-libXdamage"
88 mkdir -p $fs/usr/lib/claws-mail/plugins
89 cp -a $install/usr/lib/claws-mail/plugins/att_remover.so $fs/usr/lib/claws-mail/plugins/
90 ;;
91 claws-mail-bsfilter)
92 CAT="network|Check all recieved message with BSFilter"
93 DEPENDS="claws-mail"
94 mkdir -p $fs/usr/lib/claws-mail/plugins
95 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
96 $fs/usr/lib/claws-mail/plugins
97 ;;
98 claws-mail-clamd)
99 CAT="network|Scans recieved message with Clam AV"
100 DEPENDS="claws-mail clamav"
101 mkdir -p $fs/usr/lib/claws-mail/plugins
102 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
103 $fs/usr/lib/claws-mail/plugins
104 ;;
105 claws-mail-dev)
106 CAT="development|The user-firendly, lightweight and fast email client dev files"
107 DEPENDS="claws-mail gtk+-dev libetpan-dev gnutls-dev pkg-config"
108 mkdir -p $fs/usr/lib/claws-mail/plugins
109 cp -a $install/usr/include $fs/usr
110 cp -a $install/usr/lib/claws-mail/plugins/*.*a $fs/usr/lib/claws-mail/plugins/
111 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
112 ;;
113 claws-mail-fancy)
114 CAT="network|Renders HTML e-mail using the WebKit library "
115 DEPENDS="claws-mail libwebkit libcurl libsoup libarchive"
116 mkdir -p $fs/usr/lib/claws-mail/plugins
117 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
118 $fs/usr/lib/claws-mail/plugins
119 ;;
120 claws-mail-fetchinfo)
121 CAT="network|Inserts headers containing some download information."
122 DEPENDS="claws-mail libwebkit libcurl libsoup"
123 mkdir -p $fs/usr/lib/claws-mail/plugins
124 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
125 $fs/usr/lib/claws-mail/plugins
126 ;;
127 claws-mail-mailmbox)
128 CAT="network|Handles mailboxes in mbox format."
129 DEPENDS="claws-mail libwebkit libcurl libsoup"
130 mkdir -p $fs/usr/lib/claws-mail/plugins
131 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
132 $fs/usr/lib/claws-mail/plugins
133 ;;
134 claws-mail-newmail)
135 CAT="network|Claws Mail writes a msg header summary to a log file."
136 DEPENDS="claws-mail libwebkit libcurl libsoup"
137 mkdir -p $fs/usr/lib/claws-mail/plugins
138 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
139 $fs/usr/lib/claws-mail/plugins
140 ;;
141 claws-mail-notification)
142 CAT="network|claws-mail plugin - mail notification."
143 DEPENDS="claws-mail libnotify xorg-libXdamage"
144 mkdir -p $fs/usr/lib/claws-mail/plugins
145 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so* $fs/usr/lib/claws-mail/plugins/
146 ;;
147 claws-mail-pdfviewer)
148 CAT="network|PDF viewer for Claws Mail."
149 DEPENDS="claws-mail poppler "
150 mkdir -p $fs/usr/lib/claws-mail/plugins
151 cp -a $install/usr/lib/claws-mail/plugins/pdf_viewer.so \
152 $fs/usr/lib/claws-mail/plugins
153 ;;
154 claws-mail-plugins)
155 CAT="network|Standart plugins for claws-mail."
156 DEPENDS="claws-mail bogofilter xorg-libXdamage gcc-lib-base"
157 mkdir -p $fs/usr/lib/claws-mail/plugins
158 cp -a $install/usr/lib/claws-mail/plugins/bogofilter.so $fs/usr/lib/claws-mail/plugins/
159 cp -a $install/usr/lib/claws-mail/plugins/pgpcore.so $fs/usr/lib/claws-mail/plugins/
160 cp -a $install/usr/lib/claws-mail/plugins/pgpinline.so $fs/usr/lib/claws-mail/plugins/
161 cp -a $install/usr/lib/claws-mail/plugins/pgpmime.so $fs/usr/lib/claws-mail/plugins/
162 cp -a $install/usr/lib/claws-mail/plugins/smime.so $fs/usr/lib/claws-mail/plugins/
163 cp -a $install/usr/lib/claws-mail/plugins/spamassassin.so $fs/usr/lib/claws-mail/plugins/
164 #cp -a $install/usr/lib/claws-mail/plugins/trayicon.so $fs/usr/lib/claws-mail/plugins/
165 ;;
166 claws-mail-python)
167 CAT="network|Python interface to Claws Mail' filtering mechanism."
168 DEPENDS="claws-mail pygtk"
169 mkdir -p $fs/usr/lib/claws-mail/plugins
170 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so \
171 $fs/usr/lib/claws-mail/plugins
172 ;;
173 claws-mail-rssyl-dev)
174 CAT="development|RSS feed aggregator for Claws Mail dev files."
175 DEPENDS="claws-mail curl libxml2"
176 mkdir -p $fs/usr/lib/claws-mail/plugins
177 cp -a $install/usr/lib/claws-mail/plugins/rssyl.*a* $fs/usr/lib/claws-mail/plugins/
178 ;;
179 claws-mail-rssyl)
180 CAT="network|RSS feed aggregator for Claws Mail."
181 SUGGESTED="claws-mail-fancy"
182 TAGS="rss newsfeed"
183 DEPENDS="claws-mail curl libxml2 expat gtk+ xorg-libX11 \
184 xorg-libXau xorg-libXcomposite xorg-libXcursor \
185 xorg-libXdmcp xorg-libXext xorg-libXfixes \
186 xorg-libXinerama xorg-libXrandr xorg-libXrender \
187 xorg-libXdamage"
188 mkdir -p $fs/usr/lib/claws-mail/plugins \
189 $fs/usr/share/locale
190 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so $fs/usr/lib/claws-mail/plugins/
191 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
192 ;;
193 claws-mail-spam_report)
194 CAT="network|Reports spam to various places"
195 DEPENDS="claws-mail libcurl"
196 mkdir -p $fs/usr/lib/claws-mail/plugins
197 cp -a $install/usr/lib/claws-mail/plugins/spamreport.so \
198 $fs/usr/lib/claws-mail/plugins
199 ;;
200 claws-mail-tnefparse)
201 CAT="network|Enables Claws Mail reading application/ms-tnef attachments."
202 DEPENDS="claws-mail "
203 mkdir -p $fs/usr/lib/claws-mail/plugins
204 cp -a $install/usr/lib/claws-mail/plugins/tnef_parse.so \
205 $fs/usr/lib/claws-mail/plugins
206 ;;
207 claws-mail-vcalendar)
208 CAT="network|claws-mail plugin - vcalendar messages support."
209 DEPENDS="claws-mail curl xorg-libXdamage gnutls"
210 mkdir -p $fs/usr/lib/claws-mail/plugins
211 cp -a $install/usr/lib/claws-mail/plugins/${PACKAGE:11}.so $fs/usr/lib/claws-mail/plugins/
212 ;;
213 esac
214 }
216 # Post installation custom.
217 post_install_claws_mail()
218 {
219 [ -x "$1/usr/bin/gtk-update-icon-cache" ] &&
220 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor
221 }