wok-6.x annotate csync/receipt @ rev 19620
Up slitaz-configs(300)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 10 16:37:33 2017 +0200 (2017-01-10) |
parents | 9fca00a1918e |
children | 1a39a3d55d0e |
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" |
pascal@15002 | 8 LICENSE="GPL2" |
erjo@13410 | 9 WEB_SITE="http://www.csync.org/" |
erjo@13410 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@13410 | 11 WGET_URL="http://download.owncloud.com/download/$TARBALL" |
erjo@13410 | 12 |
erjo@13410 | 13 DEPENDS="libsqlite neon" |
erjo@13410 | 14 BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev \ |
erjo@13410 | 15 expat-dev openssl-dev log4c-dev neon-dev samba-dev" |
erjo@13410 | 16 |
erjo@13410 | 17 # Rules to configure and make the package. |
erjo@13410 | 18 compile_rules() |
erjo@13410 | 19 { |
erjo@13410 | 20 mkdir csync-build && cd csync-build |
erjo@13410 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr \ |
erjo@13410 | 22 -DWITH_LOG4C=OFF \ |
erjo@13410 | 23 -DLOG_TO_CALLBACK=ON .. \ |
erjo@13410 | 24 && make && make install |
erjo@13410 | 25 |
erjo@13410 | 26 } |
erjo@13410 | 27 |
erjo@13410 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13410 | 29 genpkg_rules() |
erjo@13410 | 30 { |
erjo@13410 | 31 mkdir -p $fs/usr/lib |
erjo@13410 | 32 |
erjo@13410 | 33 cp -a $install/usr/etc $fs/ |
erjo@13410 | 34 cp -a $install/usr/bin $fs/usr |
erjo@13410 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@13410 | 36 cp -a $install/usr/lib/csync-0 $fs/usr/lib |
erjo@13410 | 37 } |