wok view mailsync/receipt @ rev 25217
updated python-pdfkit (0.6.1 -> 1.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:33:13 2022 +0100 (2022-07-13) |
parents | 95c22cb48c90 |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mailsync"
4 VERSION="5.2.1"
5 CATEGORY="network"
6 TAGS="email imap"
7 SHORT_DESC="A way of synchronizing a collection of mailboxes"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://mailsync.sourceforge.net/"
12 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 EXTRA_SOURCE_FILES="imap-2007f.tar.gz"
15 WGET_URL2="https://www.mirrorservice.org/sites/ftp.cac.washington.edu/imap/$EXTRA_SOURCE_FILES"
17 DEPENDS="libssl"
18 BUILD_DEPENDS="c-client openssl-dev bash"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/mailsync/files/mailsync/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/mailsync/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
32 wget -P $SOURCES_REPOSITORY $WGET_URL2
33 tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
34 cd $src/${EXTRA_SOURCE_FILES%%.*}
35 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
36 src/osdep/unix/Makefile
37 make slx
38 cd ..
40 sed -i 's|/bin/sh|/bin/bash|' configure
41 ./configure --prefix=/usr \
42 --with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \
43 $CONFIGURE_ARGS &&
44 make &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr
52 cp -a $install/usr/bin $fs/usr
53 }