wok annotate isync/receipt @ rev 25725

added recipe for xfce4-notifyd-lang
author Hans-G?nter Theisgen
date Sat Aug 17 17:12:02 2024 +0100 (3 months ago)
parents 1c1cd9e8b715
children
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"
pascal@25462 10 WEB_SITE="https://isync.sourceforge.io/"
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@25606 22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;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 }