wok-current view vde2/receipt @ rev 24806

updated libmicrohttpd and libmicrohttpd-dev (0.9.70 -> 0.9.75)
author Hans-G?nter Theisgen
date Tue Mar 22 14:15:13 2022 +0100 (2022-03-22)
parents 7896f0694ef6
children 7efab2fe7277
line source
1 # SliTaz package receipt.
3 PACKAGE="vde2"
4 VERSION="2.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Distributed Ethernet."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://vde.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/vde/$TARBALL"
13 DEPENDS="libcrypto"
14 BUILD_DEPENDS="libcrypto libcrypto-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/vde/files/vde2 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/\/vde2/!d;/tar/!d;s|.*/vde2-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 --libexecdir=/usr/lib/$PACKAGE \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/vde2
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/vde2/*.so* $fs/usr/lib/vde2
45 }