wok-next diff libcclc/receipt @ rev 19972

Up copyq (3.1.1), qedit (2.8.1)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Oct 17 19:29:54 2017 +0200 (2017-10-17)
parents d3eb5f4b53ea
children e6615350078d
line diff
     1.1 --- a/libcclc/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/libcclc/receipt	Tue Oct 17 19:29:54 2017 +0200
     1.3 @@ -1,33 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libcclc"
     1.8  VERSION="0.7.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="client library for internet cafe programs"
    1.11 +SHORT_DESC="Client library for internet cafe programs"
    1.12  MAINTAINER="allan316@gmail.com"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="http://ccl.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://ccl.sourceforge.net"
    1.18 -WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/libcclc/$VERSION/$TARBALL"
    1.19 -#WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.20 +WGET_URL="$SF_MIRROR/ccl/$TARBALL"
    1.21  
    1.22 -DEPENDS="openssl sqlite"
    1.23 -BUILD_DEPENDS="openssl-dev sqlite-dev file"
    1.24 +BUILD_DEPENDS="file openssl-dev"
    1.25 +SPLIT="libcclc-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--infodir=/usr/share/info \
    1.33 -		--mandir=/usr/share/man \
    1.34 -		$CONFIGURE_ARGS &&
    1.35 -	make && make DESTDIR=$DESTDIR install
    1.36 +	./configure $CONFIGURE_ARGS && make && make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/lib
    1.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44 +	case $PACKAGE in
    1.45 +		libcclc)
    1.46 +			copy @std
    1.47 +			DEPENDS="libcrypto libssl"
    1.48 +			;;
    1.49 +		*-dev)
    1.50 +			copy @dev
    1.51 +			DEPENDS="libcclc openssl-dev"
    1.52 +			;;
    1.53 +	esac
    1.54  }