wok annotate rp-l2tp/receipt @ rev 23220
gaupol: python2 replaced by python3
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 23 13:55:45 2020 +0100 (2020-03-23) |
parents | 3b4e4318134e |
children | e919c5a2742d |
rev | line source |
---|---|
pascal@4924 | 1 # SliTaz package receipt. |
pascal@4924 | 2 |
pascal@4924 | 3 PACKAGE="rp-l2tp" |
pascal@4924 | 4 VERSION="0.4" |
pascal@4924 | 5 CATEGORY="network" |
pascal@4924 | 6 SHORT_DESC="L2TP tunnel (vpn)." |
pascal@4924 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pascal@4924 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4924 | 10 WEB_SITE="http://rp-l2tp.sourceforge.net/" |
pascal@4924 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4925 | 12 TAGS="vpn tunnel" |
pascal@20412 | 13 CONFIG_FILES="/etc/l2tp" |
pascal@4924 | 14 |
pascal@4924 | 15 # Rules to configure and make the package. |
pascal@4924 | 16 compile_rules() |
pascal@4924 | 17 { |
pascal@4924 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@20412 | 19 --mandir=/usr/share/man \ |
pascal@20412 | 20 $CONFIGURE_ARGS && |
pascal@4924 | 21 make && |
pascal@15593 | 22 make DESTDIR=$DESTDIR install |
pascal@4924 | 23 } |
pascal@4924 | 24 |
pascal@4924 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4924 | 26 genpkg_rules() |
pascal@4924 | 27 { |
pascal@4924 | 28 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins |
pascal@15593 | 29 cp -a $install/etc $fs |
pascal@15593 | 30 cp -a $install/usr/sbin $fs/usr |
pascal@4924 | 31 cp -a $src/handlers/l2tp-control $fs/usr/sbin |
pascal@4924 | 32 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins |
pascal@4924 | 33 } |