wok-6.x view csync/receipt @ rev 17260

Add manserver.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 22 00:11:20 2014 +0300 (2014-10-22)
parents 9fca00a1918e
children 1a39a3d55d0e
line source
1 # SliTaz package receipt.
3 PACKAGE="csync"
4 VERSION="0.50.8"
5 CATEGORY="network"
6 SHORT_DESC="File synchronizer"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.csync.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://download.owncloud.com/download/$TARBALL"
13 DEPENDS="libsqlite neon"
14 BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev \
15 expat-dev openssl-dev log4c-dev neon-dev samba-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir csync-build && cd csync-build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr \
22 -DWITH_LOG4C=OFF \
23 -DLOG_TO_CALLBACK=ON .. \
24 && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
33 cp -a $install/usr/etc $fs/
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/csync-0 $fs/usr/lib
37 }