wok-next annotate csync/receipt @ rev 21156
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 02 16:32:35 2019 +0200 (2019-02-02) |
parents | 4396aed7eb01 |
children |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
erjo@13410 | 9 WEB_SITE="http://www.csync.org/" |
al@20464 | 10 |
erjo@13410 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@13410 | 12 WGET_URL="http://download.owncloud.com/download/$TARBALL" |
erjo@13410 | 13 |
al@20464 | 14 BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev \ |
al@20464 | 15 expat-dev openssl-dev log4c-dev neon-dev samba-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
erjo@13410 | 17 |
al@20464 | 18 compile_rules() { |
al@20464 | 19 mkdir csync-build |
al@20464 | 20 cd csync-build |
al@20464 | 21 cmake \ |
al@20464 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
erjo@13410 | 23 -DWITH_LOG4C=OFF \ |
al@20464 | 24 -DLOG_TO_CALLBACK=ON \ |
al@20464 | 25 .. && |
al@21020 | 26 make && |
al@21020 | 27 make install |
erjo@13410 | 28 } |
erjo@13410 | 29 |
al@20464 | 30 genpkg_rules() { |
al@20464 | 31 case $PACKAGE in |
al@20464 | 32 csync) |
al@21020 | 33 copy @std |
al@20464 | 34 DEPENDS="libsqlite3 neon" |
al@20464 | 35 ;; |
al@20464 | 36 *-dev) |
al@21020 | 37 copy @dev |
al@20464 | 38 ;; |
al@20464 | 39 esac |
erjo@13410 | 40 } |