wok-next view claws-mail/receipt @ rev 21098

poppler: provide lib$PACKAGE for libs like some other packages do
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 01 15:48:26 2019 +0200 (2019-01-01)
parents 75632eca5b07
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="claws-mail"
4 VERSION="3.15.1"
5 CATEGORY="mail"
6 SHORT_DESC="Claws Mail email client"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.claws-mail.org/index.php"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://www.claws-mail.org/releases/$TARBALL"
14 BUILD_DEPENDS="gettext-dev libsm-dev glib-dev gnutls-dev gtk2-dev \
15 enchant-dev startup-notification-dev dbus-dev dbus-glib-dev openldap-dev \
16 librsvg-dev libetpan-dev curl-dev expat-dev webkitgtk-dev libsoup-dev \
17 libarchive-dev libical-dev poppler-dev gpgme-dev python-dev python-pygtk-dev \
18 libcanberra-dev ytnef-dev libnotify-dev perl-dev lcms2-dev xcb-util-dev"
19 SPLIT="\
20 $PACKAGE-acpinotifier $PACKAGE-addresskeeper $PACKAGE-archive \
21 $PACKAGE-attachwarner $PACKAGE-attremover $PACKAGE-bsfilter \
22 $PACKAGE-clamd $PACKAGE-fancy $PACKAGE-fetchinfo \
23 $PACKAGE-libravatar $PACKAGE-mailmbox $PACKAGE-managesieve \
24 $PACKAGE-newmail $PACKAGE-notification $PACKAGE-pdfviewer \
25 $PACKAGE-perl $PACKAGE-plugins $PACKAGE-python \
26 $PACKAGE-rssyl $PACKAGE-spam_report $PACKAGE-tnefparse \
27 $PACKAGE-vcalendar $PACKAGE-extras $PACKAGE-dev"
29 compile_rules() {
30 sed -i '/^Actions=/d' claws-mail.desktop # sdft can't work with actions
32 ./configure $CONFIGURE_ARGS &&
33 fix libtool &&
34 make &&
35 make install
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 claws-mail)
41 copy bin/ icons/
42 CAT="mail|the user-friendly, lightweight and fast email client"
43 DEPENDS="atk bzlib cairo dbus dbus-glib enchant fontconfig \
44 freetype gdk-pixbuf glib gmp gtk2 libcroco openssl libetpan \
45 libffi libgnutls libharfbuzz libidn libldap liblzma libpng \
46 librsvg libtasn1 libunistring libxml2 nettle p11-kit pango \
47 pcre startup-notification util-linux-blkid util-linux-mount \
48 util-linux-uuid libice libsm libx11 libxau \
49 libxdmcp libxext libxrender libxcb pixman \
50 xcb-util zlib"
51 TAGS="email client"
52 ;;
53 *-acpinotifier)
54 copy acpi_notifier.so
55 CAT="mail|mail notification via LEDs on some laptops"
56 DEPENDS="claws-mail"
57 ;;
58 *-addresskeeper)
59 copy address_keeper.so
60 CAT="mail|keeps all recipient addresses in an addressbook folder"
61 DEPENDS="claws-mail"
62 ;;
63 *-archive)
64 copy archive.so
65 CAT="mail|archiving features"
66 DEPENDS="claws-mail acl attr libarchive lz4-lib lzo"
67 ;;
68 *-attachwarner)
69 copy attachwarner.so
70 CAT="mail|warn about missing attachment"
71 DEPENDS="claws-mail"
72 ;;
73 *-attremover)
74 copy att_remover.so
75 CAT="mail|remove attachments from emails"
76 DEPENDS="claws-mail"
77 ;;
78 *-bsfilter)
79 copy bsfilter.so
80 CAT="mail|check all recieved message with BSFilter"
81 DEPENDS="claws-mail"
82 ;;
83 *-clamd)
84 copy clamd.so
85 CAT="mail|scans recieved message with Clam AV"
86 DEPENDS="claws-mail clamav"
87 ;;
88 *-fancy)
89 copy fancy.so
90 CAT="mail|renders HTML e-mail using the WebKit library"
91 DEPENDS="claws-mail gst1-plugins-base gstreamer1 icu libatomic \
92 libcurl libgcrypt libgpg-error libharfbuzz-icu libicu libidn2 \
93 libjpeg-turbo libsecret libsoup libsoup-gnome libsqlite3 libssh2 \
94 libwebp libxslt orc webkitgtk libxt"
95 ;;
96 *-fetchinfo)
97 copy fetchinfo.so
98 CAT="mail|inserts headers containing some download information"
99 DEPENDS="claws-mail"
100 ;;
101 *-libravatar)
102 copy libravatar.so
103 CAT="mail|displays libravatar/gravatar profile image"
104 DEPENDS="claws-mail libcurl libidn2 libssh2"
105 ;;
106 *-mailmbox)
107 copy mailmbox.so
108 CAT="mail|handles mailboxes in mbox format"
109 DEPENDS="claws-mail"
110 ;;
111 *-managesieve)
112 copy managesieve.so
113 CAT="mail|manage Sieve filters on servers"
114 DEPENDS="claws-mail libcurl libidn2 libssh2"
115 ;;
116 *-newmail)
117 copy newmail.so
118 CAT="mail|writes a msg header summary to a log file"
119 DEPENDS="claws-mail libetpan"
120 ;;
121 *-notification)
122 copy notification.so
123 CAT="mail|mail notification"
124 DEPENDS="claws-mail libcanberra libcanberra-gtk2 libltdl libnotify \
125 libogg libvorbis"
126 ;;
127 *-pdfviewer)
128 copy pdf_viewer.so
129 CAT="mail|PDF viewer"
130 DEPENDS="claws-mail lcms2 libjpeg-turbo libpoppler libtiff"
131 ;;
132 *-perl)
133 copy perl.so
134 CAT="mail|Perl interface to filtering mechanism"
135 DEPENDS="claws-mail perl-core"
136 ;;
137 *-plugins)
138 copy bogofilter.so pgpcore.so pgpinline.so pgpmime.so smime.so \
139 spamassassin.so
140 # plugins/trayicon.so
141 CAT="mail|standard plugins"
142 DEPENDS="claws-mail gpgme libassuan libgpg-error bogofilter"
143 ;;
144 *-python)
145 copy python.so
146 CAT="mail|Python interface to filtering mechanism"
147 DEPENDS="claws-mail python python-pygtk"
148 ;;
149 *-rssyl)
150 copy rssyl.so
151 CAT="mail|RSS feed aggregator"
152 DEPENDS="claws-mail expat libcurl libidn2 libssh2"
153 SUGGESTED="claws-mail-fancy"
154 TAGS="rss newsfeed"
155 ;;
156 *-spam_report)
157 copy spamreport.so
158 CAT="mail|reports spam to various places"
159 DEPENDS="claws-mail libcurl libidn2 libssh2"
160 ;;
161 *-tnefparse)
162 copy tnef_parse.so
163 CAT="mail|reading application/ms-tnef attachments"
164 DEPENDS="claws-mail ytnef"
165 ;;
166 *-vcalendar)
167 copy vcalendar.so
168 CAT="mail|vcalendar messages support"
169 DEPENDS="claws-mail libcurl libical libidn2 libssh2"
170 ;;
171 *-extras)
172 CAT="meta|all extras plugins"
173 DEPENDS="claws-mail-archive claws-mail-attremover \
174 claws-mail-notification claws-mail-spam_report \
175 claws-mail-vcalendar claws-mail-fancy claws-mail-rssyl"
176 ;;
177 *-dev)
178 copy @dev
179 DEPENDS="${SPLIT/$PACKAGE/} claws-mail \
180 acl-dev atk-dev attr-dev bzip2-dev cairo-dev \
181 curl-dev enchant-dev expat-dev fontconfig-dev freetype-dev \
182 gdk-pixbuf-dev glib-dev gpgme-dev gst1-plugins-base-dev \
183 gstreamer1-dev gtk2-dev harfbuzz-dev harfbuzz-icu-dev icu-dev \
184 libjpeg-turbo-dev lcms2-dev libarchive-dev libassuan-dev \
185 libcanberra-dev libetpan-dev libffi-dev libgcrypt-dev \
186 libgpg-error-dev libical-dev libidn2-dev libnotify-dev libogg-dev \
187 libpng-dev libsecret-dev libsoup-dev libssh2-dev libtool \
188 libvorbis-dev libwebp-dev libxml2-dev libxslt-dev lz4-lib lzo-dev \
189 nettle-dev openssl-dev orc-dev pango-dev pcre-dev perl-dev \
190 poppler-dev python-dev sqlite3-dev tiff-dev util-linux-blkid-dev \
191 util-linux-mount-dev util-linux-uuid-dev webkitgtk-dev \
192 libice-dev libsm-dev libx11-dev libxau-dev \
193 libxdmcp-dev libxext-dev libxrender-dev \
194 libxt-dev libxcb-dev pixman-dev xz-dev ytnef-dev \
195 zlib-dev gnutls-dev"
196 PROVIDE="claws-mail-rssyl-dev"
197 ;;
198 esac
199 }