wok-6.x diff csync/receipt @ rev 14041

gst-plugins-good: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 16:15:19 2013 +0100 (2013-02-18)
parents
children 7896f0694ef6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/csync/receipt	Mon Feb 18 16:15:19 2013 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="csync"
     1.7 +VERSION="0.50.8"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="File synchronizer"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +WEB_SITE="http://www.csync.org/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WGET_URL="http://download.owncloud.com/download/$TARBALL"
    1.14 +
    1.15 +DEPENDS="libsqlite neon"
    1.16 +BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev  \
    1.17 + expat-dev openssl-dev log4c-dev neon-dev samba-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	mkdir csync-build && cd csync-build
    1.23 +	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    1.24 +		-DWITH_LOG4C=OFF \
    1.25 +		-DLOG_TO_CALLBACK=ON .. \
    1.26 +		&& make && make install
    1.27 +	
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib 
    1.34 +	
    1.35 +	cp -a $install/usr/etc $fs/
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +	cp -a $install/usr/lib/csync-0 $fs/usr/lib
    1.39 +}