wok-next view librsync/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
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 libbzip2"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }