wok-next view mailsync/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
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 }