wok-current diff mailsync/receipt @ rev 23333

updated perl-file-which (1.22 -> 1.23)
author Hans-G?nter Theisgen
date Tue Mar 31 07:07:01 2020 +0100 (2020-03-31)
parents
children 959269cc91c6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mailsync/receipt	Tue Mar 31 07:07:01 2020 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mailsync"
     1.7 +VERSION="5.2.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A way of synchronizing a collection of mailboxes"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    1.13 +WEB_SITE="http://mailsync.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.15 +EXTRA_SOURCE_FILES="imap-2007f.tar.gz"
    1.16 +WGET_URL2="ftp://ftp.cac.washington.edu/mail/$EXTRA_SOURCE_FILES"
    1.17 +TAGS="email imap"
    1.18 +
    1.19 +DEPENDS="libssl"
    1.20 +BUILD_DEPENDS="c-client openssl-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
    1.26 +		wget -P $SOURCES_REPOSITORY $WGET_URL2
    1.27 +	tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    1.28 +	cd $src/${EXTRA_SOURCE_FILES%%.*}
    1.29 +	sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
    1.30 +		src/osdep/unix/Makefile
    1.31 +	make slx
    1.32 +	cd ..
    1.33 +	./configure --prefix=/usr \
    1.34 +		--with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \
    1.35 +		$CONFIGURE_ARGS &&
    1.36 +	make && make DESTDIR=$DESTDIR install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr
    1.43 +	cp -a $install/usr/bin $fs/usr
    1.44 +}