wok-6.x view gvpe/receipt @ rev 25479

created recipes for py3k-llfuse and py3k-secretstorage
author Hans-G?nter Theisgen
date Mon Oct 17 07:20:04 2022 +0100 (2022-10-17)
parents df10904b9e11
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gvpe"
4 VERSION="3.1"
5 CATEGORY="network"
6 TAGS="vpn tunnel network"
7 SHORT_DESC="Creates a virtual ethernet network with multiple nodes."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://software.schmorp.de/pkg/gvpe.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
15 DEPENDS="openssl zlib"
16 BUILD_DEPENDS="openssl-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/sbin $fs/usr
42 }