wok view isync/receipt @ rev 25562
ext4magic: add current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 01 08:21:00 2023 +0000 (18 months ago) |
parents | 7dd01dedad38 |
children | d3556b8f5c3d |
line source
1 # SliTaz package receipt.
3 PACKAGE="isync"
4 VERSION="1.3.1"
5 CATEGORY="network"
6 TAGS="email imap"
7 SHORT_DESC="IMAP and MailDir mailbox synchronizer."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://isync.sourceforge.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="db openssl"
16 BUILD_DEPENDS="db-dev openssl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/isync/files/isync/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/isync/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -lpthread"
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }