wok-next view poptop/receipt @ rev 18133
Add bcrelay (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 17:09:25 2015 +0200 (2015-06-13) |
parents | 5b7188f5cd91 |
children | 9065576fe94b |
line source
1 # SliTaz package receipt.
3 PACKAGE="poptop"
4 VERSION="1.3.4"
5 CATEGORY="network"
6 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="pptpd"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://poptop.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="vpn tunnel"
14 CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
16 DEPENDS="ppp bcrelay"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
22 ./configure --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc/ppp $fs/etc/init.d
33 cp -a $install/usr/sbin $fs/usr
34 rm -f $fs/usr/sbin/bcrelay
35 cp $src/samples/pptpd.conf $fs/etc
36 cp $src/samples/options.pptpd $fs/etc/ppp
37 ln -s daemon $fs/etc/init.d/pptpd
38 }