wok annotate mailsync/receipt @ rev 24371
updated bird (2.0.7 -> 2.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 15:01:57 2022 +0100 (2022-02-05) |
parents | 959269cc91c6 |
children | afae00265386 |
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@24064 | 18 BUILD_DEPENDS="c-client openssl-dev bash" |
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 |
pascal@24064 | 32 sed -i 's|/bin/sh|/bin/bash|' configure |
Hans-G?nter@24018 | 33 ./configure --prefix=/usr \ |
Hans-G?nter@24018 | 34 --with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \ |
pascal@16934 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@24018 | 36 make && |
Hans-G?nter@24018 | 37 make DESTDIR=$DESTDIR install |
pascal@16934 | 38 } |
pascal@16934 | 39 |
pascal@16934 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16934 | 41 genpkg_rules() |
pascal@16934 | 42 { |
pascal@16934 | 43 mkdir -p $fs/usr |
Hans-G?nter@24018 | 44 cp -a $install/usr/bin $fs/usr |
pascal@16934 | 45 } |