wok-next view csync/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 2809ecb8c754 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.owncloud.com/download/$TARBALL"
14 BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev \
15 expat-dev openssl-dev log4c-dev neon-dev samba-dev"
16 SPLIT="csync-dev"
18 compile_rules() {
19 mkdir csync-build
20 cd csync-build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DWITH_LOG4C=OFF \
24 -DLOG_TO_CALLBACK=ON \
25 .. &&
26 make && make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 csync)
32 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 DEPENDS="libsqlite3 neon"
38 ;;
39 *-dev)
40 mkdir -p $fs/usr
41 cp -a $install/usr/include $fs/usr
42 ;;
43 esac
44 }