wok-next view mailsync/receipt @ rev 21599
updated drakon-editor (1.26 -> 1.31)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:49:10 2020 +0100 (2020-06-24) |
parents | d43bf7aae921 |
children |
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 WEB_SITE="http://mailsync.sourceforge.net/"
11 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 EXTRA_SOURCE_FILES="imap-2007f.tar.gz"
14 WGET_URL2="ftp://ftp.cac.washington.edu/mail/$EXTRA_SOURCE_FILES"
16 BUILD_DEPENDS="c-client openssl-dev"
18 compile_rules() {
19 [ -s $SRC/$EXTRA_SOURCE_FILES ] ||
20 wget -P $SRC $WGET_URL2
21 tar xzf $SRC/$EXTRA_SOURCE_FILES
22 cd $src/${EXTRA_SOURCE_FILES%%.*}
23 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
24 src/osdep/unix/Makefile
25 make slx
26 cd ..
28 ./configure \
29 --prefix=/usr \
30 --with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$install install
34 }
36 genpkg_rules() {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 TAGS="email imap"
40 DEPENDS="openssl"
41 }