wok-next annotate rp-l2tp/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 3b4e4318134e
children d457c4e37c1b
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@21020 9 WEB_SITE="http://rp-l2tp.sourceforge.net/"
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 }