wok view openvswitch/receipt @ rev 25077

updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author Hans-G?nter Theisgen
date Wed Jun 15 14:50:09 2022 +0100 (22 months ago)
parents ad8b9ff412d2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openvswitch"
4 VERSION="2.17.1"
5 CATEGORY="network"
6 SHORT_DESC="Multilayer virtual switch."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://www.openvswitch.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
14 DEPENDS="bash libssl py3k zlib"
15 BUILD_DEPENDS="openssl-dev py3k zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://www.openvswitch.org/download/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/etc $fs
43 cp -a $install/var $fs
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/share $fs/usr
47 }