wok-4.x view poptop/receipt @ rev 11770
zsh: give a tty to configure
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 23 08:52:18 2012 +0100 (2012-02-23) |
parents | e623451e5750 |
children |
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 SOURCE="pptpd"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.poptop.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="vpn tunnel"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 }