wok-next view librsync/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 5841522533ec
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="librsync"
4 VERSION="2.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Library for the rsync remote-delta algorithm"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://librsync.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/librsync/librsync/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake bzip2-dev zlib-dev popt-dev libb2-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=lib \
24 .. &&
25 fix libtool &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 librsync)
33 copy @std
34 DEPENDS="popt zlib bzlib"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }