wok-next view csync/receipt @ rev 16102
Add libcaca (hopefully)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Mar 18 20:06:52 2014 +0000 (2014-03-18) |
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 }