void-packages/srcpkgs/ddclient/template

37 lines
1.1 KiB
Bash

# Template file for 'ddclient'
pkgname=ddclient
version=3.11.2
revision=1
build_style=gnu-configure
configure_args="--sysconfdir=/etc/ddclient"
hostmakedepends="automake curl"
depends="perl-JSON curl"
checkdepends="$depends perl-HTTP-Daemon perl-Plack perl-HTTP-Message
perl-Test-MockModule perl-Test-Warnings curl net-tools"
short_desc="Perl client used to update dynamic DNS"
maintainer="rogi <rogi@skylittlesystem.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/ddclient/ddclient"
changelog="https://raw.githubusercontent.com/ddclient/ddclient/master/ChangeLog.md"
distfiles="https://github.com/ddclient/ddclient/archive/v${version}.tar.gz"
checksum=243cd832abd3cdd2b49903e1b5ed7f450e2d9c4c0eaf8ce4fe692c244d3afd77
conf_files="/etc/ddclient/ddclient.conf"
make_dirs="/var/cache/ddclient 0750 root root"
pre_configure() {
./autogen
}
post_install() {
vdoc README.cisco
vdoc README.md
vsconf sample-ddclient-wrapper.sh
vsconf sample-etc_cron.d_ddclient
vsconf ddclient.conf
vsconf sample-etc_dhclient-exit-hooks
vsconf sample-etc_dhcpc_dhcpcd-eth0.exe
vsconf sample-etc_ppp_ip-up.local
vsv ddclient
}