wok view openvswitch/receipt @ rev 21898

updated sed (4.4 -> 4.7)
author Hans-G?nter Theisgen
date Thu Oct 03 20:17:44 2019 +0100 (2019-10-03)
parents
children 848e2021d813
line source
1 # SliTaz package receipt.
3 PACKAGE="openvswitch"
4 VERSION="2.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Multilayer virtual switch."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openvswitch.org/"
11 WGET_URL="${WEB_SITE}releases/$TARBALL"
13 DEPENDS="libssl zlib python bash"
14 BUILD_DEPENDS="openssl-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/etc $fs/
33 cp -a $install/var $fs/
34 cp -a $install/usr/bin $fs/usr/
35 cp -a $install/usr/sbin $fs/usr/
36 cp -a $install/usr/share $fs/usr/
37 }