wok annotate poptop/receipt @ rev 21961

updated squirrelmail-autocomplete (2.0-1.0.0 -> 3.0-1.4.0)
author Hans-G?nter Theisgen
date Thu Oct 10 16:00:22 2019 +0100 (2019-10-10)
parents 9c008d2424ac
children fda8ee7004a1
rev   line source
pascal@3763 1 # SliTaz package receipt.
pascal@3763 2
pascal@3763 3 PACKAGE="poptop"
pascal@3763 4 VERSION="1.3.4"
pascal@3766 5 CATEGORY="network"
pascal@3763 6 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server."
pascal@3763 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15219 8 LICENSE="GPL2"
pascal@3763 9 SOURCE="pptpd"
pascal@3763 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@18016 11 WEB_SITE="http://poptop.sourceforge.net/"
pascal@3763 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@3765 13 TAGS="vpn tunnel"
pascal@18136 14 #WANTED="ppp" # need VERSION
pascal@18016 15 CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
pascal@15219 16
pascal@18132 17 DEPENDS="ppp bcrelay"
pascal@3763 18
pascal@3763 19 # Rules to configure and make the package.
pascal@3763 20 compile_rules()
pascal@3763 21 {
pascal@18135 22 PPPVER=$(. $WOK/ppp/receipt ; echo $VERSION)
pascal@18135 23 sed -i "s/#define VERSION.*/#define VERSION \"${PPPVER:-2.4.3}\"/" \
pascal@18135 24 plugins/patchlevel.h
pascal@15219 25 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
pascal@3763 26 ./configure --prefix=/usr \
pascal@18016 27 --mandir=/usr/share/man \
pascal@18016 28 $CONFIGURE_ARGS &&
pascal@3763 29 make &&
pascal@15219 30 make DESTDIR=$DESTDIR install
pascal@3763 31 }
pascal@3763 32
pascal@3763 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3763 34 genpkg_rules()
pascal@3763 35 {
pascal@20410 36 mkdir -p $fs/usr $fs/etc/ppp $fs/etc/init.d $install/usr/share/doc
pascal@20410 37 cp $src/README* $src/NEWS $src/samples/* $src/tools/* $src/html/* \
pascal@20410 38 $src/AUTHORS $install/usr/share/doc
pascal@18134 39 cp -a $install/usr/lib $fs/usr
pascal@15219 40 cp -a $install/usr/sbin $fs/usr
pascal@18132 41 rm -f $fs/usr/sbin/bcrelay
pascal@18016 42 cp $src/samples/pptpd.conf $fs/etc
pascal@18016 43 cp $src/samples/options.pptpd $fs/etc/ppp
pascal@18132 44 ln -s daemon $fs/etc/init.d/pptpd
pascal@3763 45 }