void-packages/srcpkgs/libidn/template
Helmut Pozimski d0b0d593ab libidn: add patch for CVE-2017-14062
taken from upstream, git revision e9e81b8063b095b02cf104bb992fa9bf9515b9d8
2017-10-01 18:53:22 +02:00

30 lines
863 B
Bash

# Template build file for 'libidn'.
pkgname=libidn
version=1.33
revision=2
build_style=gnu-configure
configure_args="--disable-csharp --disable-java --disable-static --enable-threads=posix"
hostmakedepends="perl pkg-config automake libtool gettext-devel"
short_desc="Internationalized string handling library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/libidn/"
license="GPL-3, LGPL-2.1"
distfiles="${GNU_SITE}/libidn/libidn-${version}.tar.gz"
checksum=44a7aab635bb721ceef6beecc4d49dfd19478325e1b47f3196f7d2acc4930e19
pre_configure() {
autoreconf -fi
}
libidn-devel_package() {
depends="libidn>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/emacs
vmove usr/share/info
vmove "usr/lib/*.so"
}
}