wok-next diff csync/receipt @ rev 20682

Remove aspell-* dictionary packages; add aspell-dicts: receipt produces different packages with different versions (require cookutils >= 1057)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 18 12:53:47 2018 +0300 (2018-05-18)
parents 2809ecb8c754
children d5aab818505e
line diff
     1.1 --- a/csync/receipt	Sun Oct 29 09:27:29 2017 +0100
     1.2 +++ b/csync/receipt	Fri May 18 12:53:47 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="csync"
     1.8  VERSION="0.50.8"
     1.9 @@ -7,31 +7,38 @@
    1.10  MAINTAINER="erjo@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12  WEB_SITE="http://www.csync.org/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WGET_URL="http://download.owncloud.com/download/$TARBALL"
    1.16  
    1.17 -DEPENDS="libsqlite3 neon"
    1.18 -BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev  \
    1.19 - expat-dev openssl-dev log4c-dev neon-dev samba-dev"
    1.20 +BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev \
    1.21 +expat-dev openssl-dev log4c-dev neon-dev samba-dev"
    1.22 +SPLIT="csync-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	mkdir csync-build && cd csync-build
    1.28 -	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    1.29 +compile_rules() {
    1.30 +	mkdir csync-build
    1.31 +	cd    csync-build
    1.32 +	cmake \
    1.33 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.34  		-DWITH_LOG4C=OFF \
    1.35 -		-DLOG_TO_CALLBACK=ON .. \
    1.36 -		&& make && make install
    1.37 -	
    1.38 +		-DLOG_TO_CALLBACK=ON \
    1.39 +		.. &&
    1.40 +	make && make install
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 -	mkdir -p $fs/usr/lib 
    1.47 -	
    1.48 -	cp -a $install/usr/etc $fs/
    1.49 -	cp -a $install/usr/bin $fs/usr
    1.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.51 -	cp -a $install/usr/lib/csync-0 $fs/usr/lib
    1.52 +genpkg_rules() {
    1.53 +	case $PACKAGE in
    1.54 +		csync)
    1.55 +			mkdir -p $fs/usr/lib
    1.56 +			cp -a $install/usr/etc $fs/
    1.57 +			cp -a $install/usr/bin $fs/usr
    1.58 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.59 +			cp -a $install/usr/lib/csync-0 $fs/usr/lib
    1.60 +			DEPENDS="libsqlite3 neon"
    1.61 +			;;
    1.62 +		*-dev)
    1.63 +			mkdir -p $fs/usr
    1.64 +			cp -a $install/usr/include $fs/usr
    1.65 +			;;
    1.66 +	esac
    1.67  }