wok view mailsync/receipt @ rev 19018
Up mirror-tools, qemu-box, slitaz-mercurial-style, tazchroot, tazdev, tazwikiss, yaff (253)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 10:49:53 2016 +0200 (2016-04-01) |
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 }