wok-current annotate isync/receipt @ rev 24591

updated genext2fs (1.4.1 -> 1.5.0)
author Hans-G?nter Theisgen
date Mon Feb 28 17:48:46 2022 +0100 (2022-02-28)
parents 06e95db2d7b7
children 7dd01dedad38
rev   line source
pascal@16932 1 # SliTaz package receipt.
pascal@16932 2
pascal@16932 3 PACKAGE="isync"
Hans-G?nter@22963 4 VERSION="1.3.1"
pascal@16932 5 CATEGORY="network"
Hans-G?nter@21066 6 TAGS="email imap"
Hans-G?nter@21066 7 SHORT_DESC="IMAP and MailDir mailbox synchronizer."
pascal@16932 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16932 9 LICENSE="GPL2"
Hans-G?nter@21066 10 WEB_SITE="http://isync.sourceforge.net/"
Hans-G?nter@21066 11
pascal@16932 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16932 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@16932 14
pascal@16932 15 DEPENDS="db openssl"
pascal@16932 16 BUILD_DEPENDS="db-dev openssl-dev"
pascal@16932 17
pascal@24412 18 # What is the latest version available today?
pascal@24412 19 current_version()
pascal@24412 20 {
pascal@24412 21 wget -O - https://sourceforge.net/projects/isync/files/isync/ 2>/dev/null | \
pascal@24412 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24412 23 sed '/scope="row/!d;s|.*/isync/||;s|/.*||;q'
pascal@24412 24 }
pascal@24412 25
pascal@16932 26 # Rules to configure and make the package.
pascal@16932 27 compile_rules()
pascal@16932 28 {
pascal@18951 29 export LDFLAGS="$LDFLAGS -lpthread"
Hans-G?nter@21066 30
Hans-G?nter@21066 31 ./configure \
Hans-G?nter@21066 32 --prefix=/usr \
Hans-G?nter@21066 33 $CONFIGURE_ARGS &&
Hans-G?nter@21066 34 make -j 1 &&
Hans-G?nter@21066 35 make DESTDIR=$DESTDIR install
pascal@16932 36 }
pascal@16932 37
pascal@16932 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16932 39 genpkg_rules()
pascal@16932 40 {
pascal@16932 41 mkdir -p $fs/usr
Hans-G?nter@22963 42 cp -a $install/usr/bin $fs/usr
pascal@16932 43 }