# HG changeset patch # User Pascal Bellard # Date 1346663580 -7200 # Node ID 65f68f9e76ad6ae89b8c17b49966d7b20ca47a4d # Parent 4d4c60f7bf1045260a9c49cc462f96514b8f9cc0 Add librsync diff -r 4d4c60f7bf10 -r 65f68f9e76ad librsync/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/librsync/receipt Mon Sep 03 11:13:00 2012 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="librsync" +VERSION="0.9.7" +CATEGORY="development" +SHORT_DESC="Library for the rsync remote-delta algorithm" +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://librsync.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="zlib bzlib popt" +BUILD_DEPENDS="popt-dev bzip2-dev zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir $fs/usr + cp -a $install/usr/install $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr +}