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@4924
|
13
|
pascal@4924
|
14 # Rules to configure and make the package.
|
pascal@4924
|
15 compile_rules()
|
pascal@4924
|
16 {
|
pascal@4924
|
17 cd $src
|
pascal@4924
|
18 ./configure --prefix=/usr --infodir=/usr/share/info \
|
pascal@4924
|
19 --mandir=/usr/share/man \
|
pascal@4924
|
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 }
|
pascal@4924
|
34
|