# HG changeset patch # User Christophe Lincoln # Date 1307740870 -7200 # Node ID 03bafe56e2a79098594c5d2414f9f31c9a7533bd # Parent 67b1c30b972dc242795fc93b2f039e27d45bdd04 Add lsyncd (For online live sync storage) diff -r 67b1c30b972d -r 03bafe56e2a7 lsyncd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lsyncd/receipt Fri Jun 10 23:21:10 2011 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="lsyncd" +VERSION="2.0.4" +CATEGORY="network" +SHORT_DESC="Live Syncing (Mirror) Daemon." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/lsyncd/" +WGET_URL="http://lsyncd.googlecode.com/files/$TARBALL" + +DEPENDS="lua" +BUILD_DEPENDS="lua-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure $CONFIGURE_ARGS LDFLAGS="$LDFLAGS -ldl" && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +}