tarlz upgraded to version 0.13
[dragora.git] / recipes / x-apps / claws-mail / recipe
blobbadabc8da1b4929af4dcc308fb3fd8757677bdef
1 # Build recipe for claws-mail.
3 # Copyright (c) 2018 Matias Fonzo, <selk@dragora.org>.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 #    http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 program=claws-mail
18 version=3.17.1
19 release=1
21 # Set 'outdir' for a nice and well-organized output directory
22 outdir="${outdir}/${arch}/x-apps"
24 tarname=${program}-${version}.tar.bz2
26 # Remote source(s)
27 fetch=http://www.claws-mail.org/releases/$tarname
29 description="
30 An email client (and news reader), based on GTK+.
32 Claws Mail is an email client (and news reader), based on GTK+,
33 featuring: Quick response, Graceful, and sophisticated interface
34 Easy configuration, intuitive operation, Abundant features,
35 Extensibility, Robustness and stability.
37 The appearance and interface are designed to be familiar to new users
38 coming from other popular email clients, as well as experienced users.
39 Almost all commands are accessible with the keyboard.
41 The messages are managed in the standard MH format, which features
42 fast access and data security.  You'll be able to import your emails
43 from almost any other email client, and export them just as easily.
45 Lots of extra functionality, like an RSS aggregator, calendar, or
46 laptop LED handling, are provided by extra plugins.
48 Claws Mail is distributed under the GPL. 
51 homepage=https://claws-mail.org/
52 license=GPLv3+
54 # Source documentation
55 docs="AUTHORS COPYING ChangeLog NEWS README RELEASE_NOTES TODO"
56 docsdir="${docdir}/${program}-${version}"
58 build()
60     set -e
62     unpack "${tardir}/$tarname"
64     cd "$srcdir"
66     # Set sane permissions
67     chmod -R u+w,go-w,a+rX-s .
69     ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
70      $configure_args \
71      --libdir=/usr/lib${libSuffix} \
72      --mandir=$mandir \
73      --docdir=$docsdir \
74      --with-manualdir=${docsdir}/html \
75      --enable-static=no \
76      --enable-shared=yes \
77      --build="$(cc -dumpmachine)"
79     make -j${jobs} V=1
80     make -j${jobs} DESTDIR="$destdir" install-strip
82     lzip -9 "${destdir}/${mandir}"/*/*.?
84     # Copy documentation
85     mkdir -p "${destdir}${docsdir}"
86     cp -p $docs "${destdir}${docsdir}"/