wok-6.x view csync/receipt @ rev 13674
Up units (2.01)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Nov 25 18:24:35 2012 +0000 (2012-11-25) |
parents | |
children | 7896f0694ef6 |
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 WEB_SITE="http://www.csync.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://download.owncloud.com/download/$TARBALL"
12 DEPENDS="libsqlite neon"
13 BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev \
14 expat-dev openssl-dev log4c-dev neon-dev samba-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir csync-build && cd csync-build
20 cmake -DCMAKE_INSTALL_PREFIX=/usr \
21 -DWITH_LOG4C=OFF \
22 -DLOG_TO_CALLBACK=ON .. \
23 && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
32 cp -a $install/usr/etc $fs/
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/csync-0 $fs/usr/lib
36 }