wok-next view openvswitch/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | fd7465c3bdde |
children | e6615350078d |
line source
1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="openssl-dev zlib-dev perl"
14 SPLIT="openvswitch-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 case $PACKAGE in
32 openvswitch)
33 DEPENDS="libssl zlib python bash"
34 mkdir -p $fs/usr
35 cp -a $install/etc $fs/
36 cp -a $install/var $fs/
37 cp -a $install/usr/bin $fs/usr/
38 cp -a $install/usr/sbin $fs/usr/
39 cp -a $install/usr/share $fs/usr/
40 ;;
41 openvswitch-dev)
42 CAT="development|development files"
43 DEPENDS="pkg-config openvswitch"
44 mkdir -p $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 cp -a $install/usr/include $fs/usr
47 ;;
48 esac
49 }