# HG changeset patch # User Pascal Bellard # Date 1248852692 -7200 # Node ID 5a88bc2b8bea6453446d360c006f08827cc6d85c # Parent 68eb9b7c9c5a37d1a066f83e27fdd507bd67f502 Add poptop (pptpd) diff -r 68eb9b7c9c5a -r 5a88bc2b8bea poptop-man/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/poptop-man/receipt Wed Jul 29 09:31:32 2009 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="poptop-man" +VERSION="1.3.4" +CATEGORY="system-tools" +SHORT_DESC="PPTP server man pages." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="poptop" +SOURCE="pptpd" +TARBALL="$SOURCE-$VERSION.tar.gz" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg + mkdir -p $fs/usr/ + cp -a $_pkg/usr/share $fs/usr/ +} + diff -r 68eb9b7c9c5a -r 5a88bc2b8bea poptop/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/poptop/receipt Wed Jul 29 09:31:32 2009 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="poptop" +VERSION="1.3.4" +CATEGORY="system-tools" +SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="pptpd" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.poptop.org/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/sbin $fs/usr +} +