wok view poptop/receipt @ rev 17854

Up: slitaz-boot-scripts (5.7.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 25 00:32:22 2015 +0200 (2015-03-25)
parents aa4c910539a1
children 5b7188f5cd91
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://www.poptop.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="vpn tunnel"
14 CONFIG_FILES="/etc/pptp.conf /etc/ppp"
16 DEPENDS="ppp"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
23 ./configure --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 }