wok-next annotate csync/receipt @ rev 20682
Remove aspell-* dictionary packages; add aspell-dicts: receipt produces different packages with different versions (require cookutils >= 1057)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 12:53:47 2018 +0300 (2018-05-18) |
parents | 2809ecb8c754 |
children | d5aab818505e |
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" |
erjo@13410 | 7 MAINTAINER="erjo@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@20464 | 16 SPLIT="csync-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@20464 | 26 make && make install |
erjo@13410 | 27 } |
erjo@13410 | 28 |
al@20464 | 29 genpkg_rules() { |
al@20464 | 30 case $PACKAGE in |
al@20464 | 31 csync) |
al@20464 | 32 mkdir -p $fs/usr/lib |
al@20464 | 33 cp -a $install/usr/etc $fs/ |
al@20464 | 34 cp -a $install/usr/bin $fs/usr |
al@20464 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20464 | 36 cp -a $install/usr/lib/csync-0 $fs/usr/lib |
al@20464 | 37 DEPENDS="libsqlite3 neon" |
al@20464 | 38 ;; |
al@20464 | 39 *-dev) |
al@20464 | 40 mkdir -p $fs/usr |
al@20464 | 41 cp -a $install/usr/include $fs/usr |
al@20464 | 42 ;; |
al@20464 | 43 esac |
erjo@13410 | 44 } |