wok-6.x view vde2/receipt @ rev 25405

made vim-tiny as tiny as possible
author Hans-G?nter Theisgen
date Wed Aug 03 15:11:06 2022 +0100 (2022-08-03)
parents 0c04fc34847a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vde2"
4 VERSION="2.3.3"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Distributed Ethernet."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/virtualsquare/vde-2/"
10 REPOLOGY="vde"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/virtualsquare/vde-2/archive/refs/tags/v$VERSION.tar.gz"
15 DEPENDS="libcrypto"
16 BUILD_DEPENDS="automake libcrypto libcrypto-dev libtool"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/vde/files/vde2 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/\/vde2/!d;/tar/!d;s|.*/vde2-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 autoreconf --install &&
30 ./configure \
31 --prefix=/usr \
32 --libexecdir=/usr/lib/$PACKAGE \
33 --sysconfdir=/etc \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/vde2
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 # 2.3.3 not created
47 # cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/vde2/*.so* $fs/usr/lib/vde2
50 }