wok diff libsearpc/receipt @ rev 22110

python-constantly: add bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 02 13:26:58 2019 +0100 (2019-11-02)
parents 16df76e1fc6a
children 919a0f033502
line diff
     1.1 --- a/libsearpc/receipt	Fri May 22 17:34:18 2015 +0300
     1.2 +++ b/libsearpc/receipt	Sat Nov 02 13:26:58 2019 +0100
     1.3 @@ -1,36 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsearpc"
     1.7 -VERSION="3.0.2"
     1.8 +VERSION="3.1.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A simple and easy-to-use C language RPC framework."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://github.com/haiwen/libsearpc/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://github.com/haiwen/libsearpc/"
    1.17  WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz"
    1.18 +
    1.19 +DEPENDS="glib jansson python"
    1.20 +BUILD_DEPENDS="automake glib-dev jansson-dev libtool python-dev \
    1.21 +	python-simplejson"
    1.22 +
    1.23  HOST_ARCH="i486 arm"
    1.24  
    1.25 -DEPENDS="python glib jansson"
    1.26 -BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson \
    1.27 -automake libtool"
    1.28 -
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	./autogen.sh &&
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		PYTHON=/usr/bin/python2 \
    1.36 +	./configure			\
    1.37 +		--prefix=/usr		\
    1.38 +		PYTHON=/usr/bin/python2	\
    1.39  		$CONFIGURE_ARGS &&
    1.40 -	make -j 1 && make install
    1.41 +	make -j 1 &&
    1.42 +	make install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48  	mkdir -p ${fs}/usr/lib
    1.49 -	cp -a ${install}/usr/bin ${fs}/usr
    1.50 -	cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
    1.51 +
    1.52 +	cp -a ${install}/usr/bin	${fs}/usr
    1.53 +	cp -a ${install}/usr/lib/*.so*	${fs}/usr/lib
    1.54  	cp -a ${install}/usr/lib/python* ${fs}/usr/lib
    1.55  }