wok-next annotate vde2/receipt @ rev 20888
Check Repology info from q* to x* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 14 17:43:03 2018 +0300 (2018-07-14) |
parents | 10df65db91ad |
children | d5aab818505e |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
pascal@6896 | 2 |
pascal@6896 | 3 PACKAGE="vde2" |
al@20669 | 4 VERSION="2.3.2" |
pascal@6896 | 5 CATEGORY="network" |
al@20459 | 6 SHORT_DESC="Virtual Distributed Ethernet" |
pascal@6896 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20459 | 9 WEB_SITE="http://vde.sourceforge.net/" |
al@20459 | 10 |
pascal@6896 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6921 | 12 WGET_URL="$SF_MIRROR/vde/$TARBALL" |
pascal@6896 | 13 |
al@20669 | 14 BUILD_DEPENDS="openssl-dev" # python-dev libpcap-dev |
al@20459 | 15 SPLIT="vde2-dev" |
pascal@15002 | 16 |
al@20459 | 17 compile_rules() { |
al@20669 | 18 # Disable size optimization (and use default) because inlining functions |
al@20669 | 19 # in the src/vde_switch/fstp.c will produce errors: |
al@20669 | 20 # undefined reference to `nstringtol' |
al@20669 | 21 # undefined reference to `ltonstring' |
al@20669 | 22 export CFLAGS="${CFLAGS/-Os/}" |
al@20669 | 23 |
al@20459 | 24 ./configure \ |
al@20459 | 25 --libexecdir=/usr/lib/$PACKAGE \ |
al@20669 | 26 --enable-experimental \ |
al@20459 | 27 $CONFIGURE_ARGS && |
al@20604 | 28 fix libtool && |
al@20669 | 29 make -j1 && |
al@20669 | 30 make -j1 install |
pascal@6896 | 31 } |
pascal@6896 | 32 |
al@20459 | 33 genpkg_rules() { |
al@20459 | 34 case $PACKAGE in |
al@20459 | 35 vde2) |
al@20534 | 36 copy @std |
al@20459 | 37 DEPENDS="openssl" |
al@20459 | 38 ;; |
al@20459 | 39 *-dev) |
al@20534 | 40 copy @dev |
al@20459 | 41 ;; |
al@20459 | 42 esac |
pascal@6896 | 43 } |