wok-next diff 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 diff
     1.1 --- a/mailsync/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/mailsync/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -6,19 +6,16 @@
     1.4  SHORT_DESC="A way of synchronizing a collection of mailboxes"
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="http://mailsync.sourceforge.net/"
     1.8 +
     1.9  TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    1.10 -WEB_SITE="http://mailsync.sourceforge.net/"
    1.11 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.12 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  EXTRA_SOURCE_FILES="imap-2007f.tar.gz"
    1.14  WGET_URL2="ftp://ftp.cac.washington.edu/mail/$EXTRA_SOURCE_FILES"
    1.15 -TAGS="email imap"
    1.16  
    1.17 -DEPENDS="openssl"
    1.18  BUILD_DEPENDS="c-client openssl-dev"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 +compile_rules() {
    1.24  	[ -s $SRC/$EXTRA_SOURCE_FILES ] ||
    1.25  		wget -P $SRC $WGET_URL2
    1.26  	tar xzf $SRC/$EXTRA_SOURCE_FILES
    1.27 @@ -27,15 +24,18 @@
    1.28  		src/osdep/unix/Makefile
    1.29  	make slx
    1.30  	cd ..
    1.31 -	./configure --prefix=/usr \
    1.32 +
    1.33 +	./configure \
    1.34 +		--prefix=/usr \
    1.35  		--with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make && make DESTDIR=$DESTDIR install
    1.38 +	make &&
    1.39 +	make DESTDIR=$install install
    1.40  }
    1.41  
    1.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.43 -genpkg_rules()
    1.44 -{
    1.45 +genpkg_rules() {
    1.46  	mkdir -p $fs/usr
    1.47  	cp -a $install/usr/bin $fs/usr
    1.48 +	TAGS="email imap"
    1.49 +	DEPENDS="openssl"
    1.50  }