wok-6.x view librsync/receipt @ rev 13326

Add librsync
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 03 11:13:00 2012 +0200 (2012-09-03)
parents
children 2cd88d54fb64
line source
1 # SliTaz package receipt.
3 PACKAGE="librsync"
4 VERSION="0.9.7"
5 CATEGORY="development"
6 SHORT_DESC="Library for the rsync remote-delta algorithm"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://librsync.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="zlib bzlib popt"
13 BUILD_DEPENDS="popt-dev bzip2-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
21 --infodir=/usr/share/info \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir $fs/usr
30 cp -a $install/usr/install $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }