wok annotate openvswitch/receipt @ rev 20251
mixxx: force 32 bits arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 18:00:41 2018 +0100 (2018-03-12) |
parents | |
children | 848e2021d813 |
rev | line source |
---|---|
pascal@18478 | 1 # SliTaz package receipt. |
pascal@18478 | 2 |
pascal@18478 | 3 PACKAGE="openvswitch" |
pascal@18478 | 4 VERSION="2.4.0" |
pascal@18478 | 5 CATEGORY="network" |
pascal@18478 | 6 SHORT_DESC="Multilayer virtual switch." |
pascal@18478 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18478 | 8 LICENSE="Apache" |
pascal@18478 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18478 | 10 WEB_SITE="http://openvswitch.org/" |
pascal@18478 | 11 WGET_URL="${WEB_SITE}releases/$TARBALL" |
pascal@18478 | 12 |
pascal@18478 | 13 DEPENDS="libssl zlib python bash" |
pascal@18478 | 14 BUILD_DEPENDS="openssl-dev zlib-dev" |
pascal@18478 | 15 |
pascal@18478 | 16 # Rules to configure and make the package. |
pascal@18478 | 17 compile_rules() |
pascal@18478 | 18 { |
pascal@18478 | 19 ./configure --prefix=/usr \ |
pascal@18478 | 20 --sysconfdir=/etc \ |
pascal@18478 | 21 --localstatedir=/var \ |
pascal@18478 | 22 --mandir=/usr/share/man \ |
pascal@18478 | 23 $CONFIGURE_ARGS && |
pascal@18478 | 24 make && |
pascal@18478 | 25 make DESTDIR=$DESTDIR install |
pascal@18478 | 26 } |
pascal@18478 | 27 |
pascal@18478 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18478 | 29 genpkg_rules() |
pascal@18478 | 30 { |
pascal@18478 | 31 mkdir -p $fs/usr |
pascal@18478 | 32 cp -a $install/etc $fs/ |
pascal@18478 | 33 cp -a $install/var $fs/ |
pascal@18478 | 34 cp -a $install/usr/bin $fs/usr/ |
pascal@18478 | 35 cp -a $install/usr/sbin $fs/usr/ |
pascal@18478 | 36 cp -a $install/usr/share $fs/usr/ |
pascal@18478 | 37 } |