wok view isync/receipt @ rev 25801

created recipe for xfce4-calculator-plugin
author Hans-G?nter Theisgen
date Sat Nov 02 14:21:07 2024 +0100 (3 weeks ago)
parents 1c1cd9e8b715
children
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }