wok-current annotate mailsync/receipt @ rev 17615

Fix: gpick build
author Alexander Medvedev <devl547@gmail.com>
date Thu Feb 12 20:33:54 2015 +0000 (2015-02-12)
parents
children 959269cc91c6
rev   line source
pascal@16934 1 # SliTaz package receipt.
pascal@16934 2
pascal@16934 3 PACKAGE="mailsync"
pascal@16934 4 VERSION="5.2.1"
pascal@16934 5 CATEGORY="network"
pascal@16934 6 SHORT_DESC="A way of synchronizing a collection of mailboxes"
pascal@16934 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16934 8 LICENSE="GPL2"
pascal@16934 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
pascal@16934 10 WEB_SITE="http://mailsync.sourceforge.net/"
pascal@16934 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@16934 12 EXTRA_SOURCE_FILES="imap-2007f.tar.gz"
pascal@16934 13 WGET_URL2="ftp://ftp.cac.washington.edu/mail/$EXTRA_SOURCE_FILES"
pascal@16934 14 TAGS="email imap"
pascal@16934 15
pascal@16934 16 DEPENDS="libssl"
pascal@16934 17 BUILD_DEPENDS="c-client openssl-dev"
pascal@16934 18
pascal@16934 19 # Rules to configure and make the package.
pascal@16934 20 compile_rules()
pascal@16934 21 {
pascal@16934 22 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
pascal@16934 23 wget -P $SOURCES_REPOSITORY $WGET_URL2
pascal@16934 24 tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
pascal@16934 25 cd $src/${EXTRA_SOURCE_FILES%%.*}
pascal@16934 26 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
pascal@16934 27 src/osdep/unix/Makefile
pascal@16934 28 make slx
pascal@16934 29 cd ..
pascal@16934 30 ./configure --prefix=/usr \
pascal@16934 31 --with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \
pascal@16934 32 $CONFIGURE_ARGS &&
pascal@16934 33 make && make DESTDIR=$DESTDIR install
pascal@16934 34 }
pascal@16934 35
pascal@16934 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16934 37 genpkg_rules()
pascal@16934 38 {
pascal@16934 39 mkdir -p $fs/usr
pascal@16934 40 cp -a $install/usr/bin $fs/usr
pascal@16934 41 }