wok-next view csync/receipt @ rev 16747

Up: bluefish (2.2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sat Jun 14 19:43:22 2014 +0000 (2014-06-14)
parents 9fca00a1918e
children 2809ecb8c754
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 }