wok-next annotate openvswitch/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4a67f7e79846
children d457c4e37c1b
rev   line source
pascal@20245 1 # SliTaz package receipt v2.
pascal@18478 2
pascal@18478 3 PACKAGE="openvswitch"
pascal@18478 4 VERSION="2.4.0"
pascal@18478 5 CATEGORY="network"
pascal@20245 6 SHORT_DESC="Multilayer virtual switch"
pascal@18478 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18478 8 LICENSE="Apache"
al@20534 9 WEB_SITE="http://openvswitch.org/"
al@20534 10
pascal@18478 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18478 12 WGET_URL="${WEB_SITE}releases/$TARBALL"
pascal@18478 13
pascal@20245 14 BUILD_DEPENDS="openssl-dev zlib-dev perl"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@18478 16
al@20534 17 compile_rules() {
al@20534 18 ./configure $CONFIGURE_ARGS &&
al@20601 19 fix libtool &&
pascal@18478 20 make &&
al@21020 21 make DESTDIR=$install install
pascal@18478 22 }
pascal@18478 23
al@20534 24 genpkg_rules() {
pascal@20245 25 case $PACKAGE in
al@20534 26 openvswitch)
al@20534 27 copy @std
al@20534 28 DEPENDS="openssl zlib python bash"
al@20534 29 ;;
al@20534 30 *-dev)
al@20534 31 copy @dev
al@20534 32 ;;
pascal@20245 33 esac
pascal@18478 34 }