wok-next diff openvswitch/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents fd7465c3bdde
children e6615350078d
line diff
     1.1 --- a/openvswitch/receipt	Wed Oct 07 15:13:06 2015 +0200
     1.2 +++ b/openvswitch/receipt	Sat Feb 24 16:17:33 2018 +0200
     1.3 @@ -1,17 +1,17 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="openvswitch"
     1.8  VERSION="2.4.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Multilayer virtual switch."
    1.11 +SHORT_DESC="Multilayer virtual switch"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="Apache"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://openvswitch.org/"
    1.16  WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.17  
    1.18 -DEPENDS="libssl zlib python bash"
    1.19 -BUILD_DEPENDS="openssl-dev zlib-dev"
    1.20 +BUILD_DEPENDS="openssl-dev zlib-dev perl"
    1.21 +SPLIT="openvswitch-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -28,10 +28,22 @@
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29 -	mkdir -p $fs/usr
    1.30 -	cp -a $install/etc $fs/
    1.31 -	cp -a $install/var $fs/
    1.32 -	cp -a $install/usr/bin $fs/usr/
    1.33 -	cp -a $install/usr/sbin $fs/usr/
    1.34 -	cp -a $install/usr/share $fs/usr/
    1.35 +	case $PACKAGE in
    1.36 +	openvswitch)
    1.37 +		DEPENDS="libssl zlib python bash"
    1.38 +		mkdir -p $fs/usr
    1.39 +		cp -a $install/etc $fs/
    1.40 +		cp -a $install/var $fs/
    1.41 +		cp -a $install/usr/bin $fs/usr/
    1.42 +		cp -a $install/usr/sbin $fs/usr/
    1.43 +		cp -a $install/usr/share $fs/usr/
    1.44 +		;;
    1.45 +	openvswitch-dev)
    1.46 +		CAT="development|development files"
    1.47 +		DEPENDS="pkg-config openvswitch"
    1.48 +		mkdir -p $fs/usr
    1.49 +		cp -a $install/usr/lib $fs/usr
    1.50 +		cp -a $install/usr/include $fs/usr
    1.51 +		;;
    1.52 +	esac
    1.53  }