wok-next annotate openvswitch/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | d43bf7aae921 |
children | 4a67f7e79846 |
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" |
pascal@20245 | 15 SPLIT="openvswitch-dev" |
pascal@18478 | 16 |
al@20534 | 17 compile_rules() { |
al@20534 | 18 ./configure $CONFIGURE_ARGS && |
pascal@18478 | 19 make && |
pascal@18478 | 20 make DESTDIR=$DESTDIR install |
pascal@18478 | 21 } |
pascal@18478 | 22 |
al@20534 | 23 genpkg_rules() { |
pascal@20245 | 24 case $PACKAGE in |
al@20534 | 25 openvswitch) |
al@20534 | 26 copy @std |
al@20534 | 27 DEPENDS="openssl zlib python bash" |
al@20534 | 28 ;; |
al@20534 | 29 *-dev) |
al@20534 | 30 copy @dev |
al@20534 | 31 ;; |
pascal@20245 | 32 esac |
pascal@18478 | 33 } |