wok-next view librsync/receipt @ rev 20814

palemoon: fatal error: sys/int_types.h
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 19:28:54 2018 +0000 (2018-06-13)
parents 0eae38b89b8d
children d5aab818505e
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="librsync-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=$DESTDIR 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 }