wok annotate csync/receipt @ rev 14935

Up: ecore (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:40 2013 +0200 (2013-08-08)
parents
children 7896f0694ef6
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"
erjo@13410 8 WEB_SITE="http://www.csync.org/"
erjo@13410 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@13410 10 WGET_URL="http://download.owncloud.com/download/$TARBALL"
erjo@13410 11
erjo@13410 12 DEPENDS="libsqlite neon"
erjo@13410 13 BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev \
erjo@13410 14 expat-dev openssl-dev log4c-dev neon-dev samba-dev"
erjo@13410 15
erjo@13410 16 # Rules to configure and make the package.
erjo@13410 17 compile_rules()
erjo@13410 18 {
erjo@13410 19 mkdir csync-build && cd csync-build
erjo@13410 20 cmake -DCMAKE_INSTALL_PREFIX=/usr \
erjo@13410 21 -DWITH_LOG4C=OFF \
erjo@13410 22 -DLOG_TO_CALLBACK=ON .. \
erjo@13410 23 && make && make install
erjo@13410 24
erjo@13410 25 }
erjo@13410 26
erjo@13410 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13410 28 genpkg_rules()
erjo@13410 29 {
erjo@13410 30 mkdir -p $fs/usr/lib
erjo@13410 31
erjo@13410 32 cp -a $install/usr/etc $fs/
erjo@13410 33 cp -a $install/usr/bin $fs/usr
erjo@13410 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@13410 35 cp -a $install/usr/lib/csync-0 $fs/usr/lib
erjo@13410 36 }