wok-6.x diff openvswitch/receipt @ rev 18973

splashutils: fix build, update URLs, add description
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 12 14:29:04 2016 +0200 (2016-03-12)
parents
children 848e2021d813
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openvswitch/receipt	Sat Mar 12 14:29:04 2016 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openvswitch"
     1.7 +VERSION="2.4.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Multilayer virtual switch."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="Apache"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://openvswitch.org/"
    1.14 +WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libssl zlib python bash"
    1.17 +BUILD_DEPENDS="openssl-dev zlib-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure --prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--localstatedir=/var \
    1.25 +		--mandir=/usr/share/man \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr
    1.35 +	cp -a $install/etc $fs/
    1.36 +	cp -a $install/var $fs/
    1.37 +	cp -a $install/usr/bin $fs/usr/
    1.38 +	cp -a $install/usr/sbin $fs/usr/
    1.39 +	cp -a $install/usr/share $fs/usr/
    1.40 +}