# Contributor: Danilo Godec # Maintainer: Natanael Copa pkgname=xl2tpd pkgver=1.3.18 pkgrel=1 pkgdesc="Layer 2 Tunnelling Protocol Daemon (RFC 2661)" url="https://github.com/xelerance/xl2tpd/releases/tag/v1.3.14" arch="all" license="GPL-2.0-or-later" depends="ppp-l2tp" makedepends="libpcap-dev linux-headers" subpackages="$pkgname-doc $pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/xelerance/xl2tpd/archive/v$pkgver.tar.gz xl2tpd.confd xl2tpd.initd options.xl2tpd " build() { make PREFIX=/usr } package() { make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 examples/xl2tpd.conf "$pkgdir"/etc/xl2tpd/xl2tpd.conf install -Dm755 "$srcdir"/xl2tpd.initd "$pkgdir"/etc/init.d/xl2tpd install -Dm644 "$srcdir"/xl2tpd.confd "$pkgdir"/etc/conf.d/xl2tpd install -Dm644 "$srcdir"/options.xl2tpd "$pkgdir"/etc/ppp/options.xl2tpd install -dm755 "$pkgdir"/var/run/xl2tpd } sha512sums=" d1114777de5f3895429409fd5474da91fe9e9c218615eb989c9294de3e4e36dea7d8ea880a9b1b1ca18760e5709c8b8156c80d81401db479eaf215c026c3d861 xl2tpd-1.3.18.tar.gz 1d0924d71b96b6bbaccbdcb11468047d02126d01650b7379923489a39976559e10f0167848608586de689fbbf5ba7d8c584f5443f9b4731501f7bf54b1142b44 xl2tpd.confd 35155e758fe0404d7850600c9c0bcdd17e74cd2b95dea3d21761fbb3032757dccde42a9e34d68822c96f3c0fca475223e2f842e9067a99293f3668d99e858084 xl2tpd.initd 04b1c4bf07ef5e74efa49d627bb085ee76d2543f6e69312aab4d183297210831f2d9da66dd8ad7ec75d69ada1f30e4faf4c4b275d2fe9f75e4b496cf55426198 options.xl2tpd "