wok annotate csync/receipt @ rev 25776

Update thunderbird to 68.12.1 latest ESR work with old glibc, and block autoupdate
author Stanislas Leduc <shann@slitaz.org>
date Mon Sep 16 17:28:27 2024 +0200 (2 months ago)
parents e171b422f9e7
children
rev   line source
erjo@13410 1 # SliTaz package receipt.
erjo@13410 2
erjo@13410 3 PACKAGE="csync"
erjo@13410 4 VERSION="0.50.8"
erjo@13410 5 CATEGORY="network"
erjo@13410 6 SHORT_DESC="File synchronizer"
erjo@13410 7 MAINTAINER="erjo@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@24991 9 WEB_SITE="https://csync.org/"
erjo@13410 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25101 11 WGET_URL="https://web.archive.org/web/20121102081006if_/http://download.owncloud.com/download/$TARBALL"
erjo@13410 12
erjo@13410 13 DEPENDS="libsqlite neon"
erjo@13410 14 BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev \
erjo@13410 15 expat-dev openssl-dev log4c-dev neon-dev samba-dev"
erjo@13410 16
pascal@24699 17 # What is the latest version available today?
pascal@24699 18 current_version()
pascal@24699 19 {
pascal@24699 20 wget -O - https://csync.org/ 2>/dev/null | \
pascal@24699 21 sed '/csync version/!d;s|.*version ||;s|<.*||;q'
pascal@24699 22 }
pascal@24699 23
erjo@13410 24 # Rules to configure and make the package.
erjo@13410 25 compile_rules()
erjo@13410 26 {
pascal@24972 27 sed -i 's|^\( *\)/opt/local\(.*\)$|&\n\1/opt/samba\2|' cmake/Modules/FindLibsmbclient.cmake
erjo@13410 28 mkdir csync-build && cd csync-build
erjo@13410 29 cmake -DCMAKE_INSTALL_PREFIX=/usr \
erjo@13410 30 -DWITH_LOG4C=OFF \
erjo@13410 31 -DLOG_TO_CALLBACK=ON .. \
erjo@13410 32 && make && make install
erjo@13410 33
erjo@13410 34 }
erjo@13410 35
erjo@13410 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13410 37 genpkg_rules()
erjo@13410 38 {
erjo@13410 39 mkdir -p $fs/usr/lib
erjo@13410 40
erjo@13410 41 cp -a $install/usr/etc $fs/
erjo@13410 42 cp -a $install/usr/bin $fs/usr
erjo@13410 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@13410 44 cp -a $install/usr/lib/csync-0 $fs/usr/lib
erjo@13410 45 }