wok view mailsync/receipt @ rev 23698
updated tiff, tiff-apps and tiff-dev (4.0.10 -> 4.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 28 07:51:26 2020 +0100 (2020-04-28) |
parents | |
children | 959269cc91c6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mailsync"
4 VERSION="5.2.1"
5 CATEGORY="network"
6 SHORT_DESC="A way of synchronizing a collection of mailboxes"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
10 WEB_SITE="http://mailsync.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
12 EXTRA_SOURCE_FILES="imap-2007f.tar.gz"
13 WGET_URL2="ftp://ftp.cac.washington.edu/mail/$EXTRA_SOURCE_FILES"
14 TAGS="email imap"
16 DEPENDS="libssl"
17 BUILD_DEPENDS="c-client openssl-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
23 wget -P $SOURCES_REPOSITORY $WGET_URL2
24 tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
25 cd $src/${EXTRA_SOURCE_FILES%%.*}
26 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
27 src/osdep/unix/Makefile
28 make slx
29 cd ..
30 ./configure --prefix=/usr \
31 --with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }