wok-next rev 20587
Up librsync (2.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 15:01:16 2018 +0300 (2018-04-14) |
parents | 5a603678c166 |
children | e5bec980f006 |
files | burp/receipt duplicity/receipt librsync/receipt |
line diff
1.1 --- a/burp/receipt Sat Apr 14 14:19:43 2018 +0300 1.2 +++ b/burp/receipt Sat Apr 14 15:01:16 2018 +0300 1.3 @@ -11,7 +11,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.6 1.7 -BUILD_DEPENDS="librsync acl-dev openssl-dev attr-dev popt-dev ncurses-dev \ 1.8 +BUILD_DEPENDS="librsync-dev acl-dev openssl-dev attr-dev popt-dev ncurses-dev \ 1.9 bzip2-dev zlib-dev" 1.10 1.11 compile_rules() {
2.1 --- a/duplicity/receipt Sat Apr 14 14:19:43 2018 +0300 2.2 +++ b/duplicity/receipt Sat Apr 14 15:01:16 2018 +0300 2.3 @@ -10,7 +10,7 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.5 WGET_URL="https://code.launchpad.net/$PACKAGE/${VERSION%.*}-series/$VERSION/+download/$TARBALL" 2.6 2.7 -DEPENDS="python librsync gnupg paramiko cryptopp lftp" 2.8 +DEPENDS="python librsync-dev gnupg paramiko cryptopp lftp" 2.9 BUILD_DEPENDS="python-dev $DEPENDS" 2.10 # NcFTP boto librsync-dev 2.11
3.1 --- a/librsync/receipt Sat Apr 14 14:19:43 2018 +0300 3.2 +++ b/librsync/receipt Sat Apr 14 15:01:16 2018 +0300 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt v2. 3.5 3.6 PACKAGE="librsync" 3.7 -VERSION="0.9.7" 3.8 +VERSION="2.0.2" 3.9 CATEGORY="development" 3.10 SHORT_DESC="Library for the rsync remote-delta algorithm" 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 @@ -9,17 +9,31 @@ 3.13 WEB_SITE="http://librsync.sourceforge.net/" 3.14 3.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 3.17 +WGET_URL="https://github.com/librsync/librsync/archive/v$VERSION.tar.gz" 3.18 3.19 -BUILD_DEPENDS="popt-dev bzip2-dev zlib-dev" 3.20 +BUILD_DEPENDS="cmake bzip2-dev zlib-dev popt-dev libb2-dev" 3.21 +SPLIT="librsync-dev" 3.22 3.23 compile_rules() { 3.24 - ./configure $CONFIGURE_ARGS && 3.25 + mkdir build 3.26 + cd build 3.27 + cmake \ 3.28 + -DCMAKE_BUILD_TYPE=Release \ 3.29 + -DCMAKE_INSTALL_PREFIX=/usr \ 3.30 + -DCMAKE_INSTALL_LIBDIR=lib \ 3.31 + .. && 3.32 make && 3.33 make DESTDIR=$DESTDIR install 3.34 } 3.35 3.36 genpkg_rules() { 3.37 - copy @dev @std 3.38 - DEPENDS="zlib bzlib popt" 3.39 + case $PACKAGE in 3.40 + librsync) 3.41 + copy @std 3.42 + DEPENDS="popt zlib bzlib" 3.43 + ;; 3.44 + *-dev) 3.45 + copy @dev 3.46 + ;; 3.47 + esac 3.48 }