wok annotate mailsync/receipt @ rev 24018
mailsync: WGET_URL2 changed
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 27 17:05:52 2021 +0100 (2021-02-27) |
parents | 17ac726a4bfc |
children | 95c22cb48c90 |
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" |
Hans-G?nter@24018 | 6 TAGS="email imap" |
pascal@16934 | 7 SHORT_DESC="A way of synchronizing a collection of mailboxes" |
pascal@16934 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16934 | 9 LICENSE="GPL2" |
Hans-G?nter@24018 | 10 WEB_SITE="http://mailsync.sourceforge.net/" |
Hans-G?nter@24018 | 11 |
pascal@16934 | 12 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@16934 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@16934 | 14 EXTRA_SOURCE_FILES="imap-2007f.tar.gz" |
Hans-G?nter@24018 | 15 WGET_URL2="https://www.mirrorservice.org/sites/ftp.cac.washington.edu/imap/$EXTRA_SOURCE_FILES" |
pascal@16934 | 16 |
pascal@16934 | 17 DEPENDS="libssl" |
pascal@16934 | 18 BUILD_DEPENDS="c-client openssl-dev" |
pascal@16934 | 19 |
pascal@16934 | 20 # Rules to configure and make the package. |
pascal@16934 | 21 compile_rules() |
pascal@16934 | 22 { |
pascal@16934 | 23 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || |
pascal@16934 | 24 wget -P $SOURCES_REPOSITORY $WGET_URL2 |
pascal@16934 | 25 tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES |
pascal@16934 | 26 cd $src/${EXTRA_SOURCE_FILES%%.*} |
pascal@16934 | 27 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \ |
pascal@16934 | 28 src/osdep/unix/Makefile |
pascal@16934 | 29 make slx |
pascal@16934 | 30 cd .. |
Hans-G?nter@24018 | 31 |
Hans-G?nter@24018 | 32 ./configure --prefix=/usr \ |
Hans-G?nter@24018 | 33 --with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \ |
pascal@16934 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@24018 | 35 make && |
Hans-G?nter@24018 | 36 make DESTDIR=$DESTDIR install |
pascal@16934 | 37 } |
pascal@16934 | 38 |
pascal@16934 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16934 | 40 genpkg_rules() |
pascal@16934 | 41 { |
pascal@16934 | 42 mkdir -p $fs/usr |
Hans-G?nter@24018 | 43 cp -a $install/usr/bin $fs/usr |
pascal@16934 | 44 } |