
Receipt for package "xl2tpd"
# SliTaz package receipt. PACKAGE="xl2tpd" VERSION="1.3.15" CATEGORY="network" TAGS="vpn tunnel" SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/xelerance/xl2tpd" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/xelerance/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="libpcap" BUILD_DEPENDS="libpcap-dev" CONFIG_FILES="/etc/xl2tpd" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' \ Makefile make PREFIX=/usr DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr mkdir -p $fs/etc/xl2tpd mkdir -p $fs/var/run/xl2tpd cp -a $src/doc $install/usr/share/ rm $install/usr/share/doc/*.? cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)