wok-next view librsync/receipt @ rev 21720

qt4: replaced libIDL by libidl
author Hans-G?nter Theisgen
date Wed Aug 05 09:22:38 2020 +0100 (2020-08-05)
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 }