void-packages/srcpkgs/ipv6calc/template

20 lines
826 B
Bash

# Template file for 'ipv6calc'
pkgname=ipv6calc
version=4.0.1
revision=1
build_style=gnu-configure
configure_args="--enable-geoip --enable-mmdb --enable-external"
hostmakedepends="perl"
makedepends="geoip-devel libmaxminddb-devel db-devel"
short_desc="Small utility to manipulate IPv6 addresses"
maintainer="Lon Willett <xgit@lonw.net>"
license="GPL-2.0-only"
homepage="https://www.deepspace6.net/projects/ipv6calc.html"
changelog="https://github.com/pbiering/ipv6calc/raw/master/ChangeLog"
distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
checksum=0de7dbe66c0e3602becc18bb8f69a278a02eeaf5d58779cd1c0e0069eb80a7e6
# tries to execute ldconfig to find the libdb version, breaking musl/cross
# builds and only uses the result for static linking anyways.
configure_args+=" ac_cv_file__sbin_ldconfig=no"