void-packages/srcpkgs/inadyn/template
2016-08-07 02:03:50 -04:00

30 lines
780 B
Bash

# Template file for 'inadyn'
pkgname=inadyn
version=1.99.15
revision=2
build_style=gnu-configure
configure_args="--enable-openssl"
hostmakedepends="autoconf automake"
makedepends="libressl-devel"
short_desc="Small DynDNS client with SSL/TLS support"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://troglobit.com/inadyn.html"
distfiles="ftp://ftp.troglobit.com/inadyn/inadyn-${version}.tar.xz"
checksum=b54ed82653e9bd6624e579433907aecfd3e83bdab9ed0b3c21d6817c799ac715
system_accounts="inadyn"
inadyn_homedir="/run/inadyn"
conf_files="/etc/inadyn.conf"
pre_configure() {
autoreconf -fi
sed -i 's;^install:.*$;install:;g' libite/Makefile
sed -i '/#include <error.h>/d' libite/lite.h
}
post_install() {
vconf ${FILESDIR}/inadyn.conf
vsv inadyn
}