wok-next annotate rp-l2tp/receipt @ rev 21505
updated audit (2.8.4 -> 2.8.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 07:56:59 2020 +0100 (2020-06-19) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@4924 | 2 |
pascal@4924 | 3 PACKAGE="rp-l2tp" |
pascal@4924 | 4 VERSION="0.4" |
pascal@4924 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="L2TP tunnel (vpn)" |
pascal@4924 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
al@21041 | 9 WEB_SITE="https://sourceforge.net/projects/rp-l2tp/" |
al@21020 | 10 |
pascal@4924 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4924 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4924 | 13 |
al@21020 | 14 compile_rules() { |
al@21020 | 15 ./configure \ |
al@21020 | 16 --prefix=/usr \ |
al@21020 | 17 --infodir=/usr/share/info \ |
al@21020 | 18 --mandir=/usr/share/man \ |
al@21020 | 19 $CONFIGURE_ARGS && |
pascal@4924 | 20 make && |
al@21020 | 21 make DESTDIR=$install install |
pascal@4924 | 22 } |
pascal@4924 | 23 |
al@21020 | 24 genpkg_rules() { |
pascal@4924 | 25 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins |
pascal@15593 | 26 cp -a $install/etc $fs |
pascal@15593 | 27 cp -a $install/usr/sbin $fs/usr |
pascal@4924 | 28 cp -a $src/handlers/l2tp-control $fs/usr/sbin |
pascal@4924 | 29 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins |
al@21020 | 30 TAGS="vpn tunnel" |
pascal@4924 | 31 } |