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