wok-next annotate mailsync/receipt @ rev 21280
gimp: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 17:24:40 2019 +0100 (2019-12-07) |
parents | d43bf7aae921 |
children |
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" |
al@21020 | 9 WEB_SITE="http://mailsync.sourceforge.net/" |
al@21020 | 10 |
pascal@16934 | 11 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
al@21020 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@16934 | 13 EXTRA_SOURCE_FILES="imap-2007f.tar.gz" |
pascal@16934 | 14 WGET_URL2="ftp://ftp.cac.washington.edu/mail/$EXTRA_SOURCE_FILES" |
pascal@16934 | 15 |
pascal@16934 | 16 BUILD_DEPENDS="c-client openssl-dev" |
pascal@16934 | 17 |
al@21020 | 18 compile_rules() { |
al@20513 | 19 [ -s $SRC/$EXTRA_SOURCE_FILES ] || |
al@20513 | 20 wget -P $SRC $WGET_URL2 |
al@20513 | 21 tar xzf $SRC/$EXTRA_SOURCE_FILES |
pascal@16934 | 22 cd $src/${EXTRA_SOURCE_FILES%%.*} |
pascal@16934 | 23 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \ |
pascal@16934 | 24 src/osdep/unix/Makefile |
pascal@16934 | 25 make slx |
pascal@16934 | 26 cd .. |
al@21020 | 27 |
al@21020 | 28 ./configure \ |
al@21020 | 29 --prefix=/usr \ |
pascal@16934 | 30 --with-c-client=$src/${EXTRA_SOURCE_FILES%%.*} \ |
pascal@16934 | 31 $CONFIGURE_ARGS && |
al@21020 | 32 make && |
al@21020 | 33 make DESTDIR=$install install |
pascal@16934 | 34 } |
pascal@16934 | 35 |
al@21020 | 36 genpkg_rules() { |
pascal@16934 | 37 mkdir -p $fs/usr |
pascal@16934 | 38 cp -a $install/usr/bin $fs/usr |
al@21020 | 39 TAGS="email imap" |
al@21020 | 40 DEPENDS="openssl" |
pascal@16934 | 41 } |