wok annotate vde2/receipt @ rev 25144

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