wok view vde2/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (10 months ago)
parents 7efab2fe7277
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 - $WEB_SITE/tags 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf --install &&
29 ./configure \
30 --prefix=/usr \
31 --libexecdir=/usr/lib/$PACKAGE \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/vde2
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin $fs/usr
45 # 2.3.3 not created
46 # cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/vde2/*.so* $fs/usr/lib/vde2
49 }