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