wok-next view csync/receipt @ rev 21715
Up cookutils (1146)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 28 07:53:22 2020 +0000 (2020-07-28) |
parents | 4396aed7eb01 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="csync"
4 VERSION="0.50.8"
5 CATEGORY="network"
6 SHORT_DESC="File synchronizer"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.csync.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.owncloud.com/download/$TARBALL"
14 BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev \
15 expat-dev openssl-dev log4c-dev neon-dev samba-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir csync-build
20 cd csync-build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DWITH_LOG4C=OFF \
24 -DLOG_TO_CALLBACK=ON \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 csync)
33 copy @std
34 DEPENDS="libsqlite3 neon"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }